diff options
author | Petr Machata <pmachata@redhat.com> | 2013-02-06 15:46:04 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2013-03-12 00:08:53 +0100 |
commit | 982cbca34b2b49a158086ff5f43eb9bba89edead (patch) | |
tree | e09a0ed55a5e22cd78cd483577156a2ae838b770 /type.h | |
parent | 62fc7747d37cacfb21381961674c07ebab5f2fb9 (diff) | |
download | ltrace-982cbca34b2b49a158086ff5f43eb9bba89edead.tar.gz |
Move get_hfa_type from IA64 backend to type.c, name it type_get_hfa_type
Diffstat (limited to 'type.h')
-rw-r--r-- | type.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,6 +1,6 @@ /* * This file is part of ltrace. - * Copyright (C) 2011,2012 Petr Machata, Red Hat Inc. + * Copyright (C) 2011,2012,2013 Petr Machata, Red Hat Inc. * Copyright (C) 1997-2009 Juan Cespedes * * This program is free software; you can redistribute it and/or @@ -142,4 +142,13 @@ int type_is_signed(enum arg_type type); * type. */ struct arg_type_info *type_get_fp_equivalent(struct arg_type_info *info); +/* If INFO is homogeneous floating-point aggregate, return the + * corresponding floating point type, and set *COUNTP to number of + * fields of the structure. Otherwise return NULL. INFO is a HFA if + * it's an aggregate whose each field is either a HFA, or a + * floating-point type. */ +struct arg_type_info *type_get_hfa_type(struct arg_type_info *info, + size_t *countp); + + #endif /* TYPE_H */ |