aboutsummaryrefslogtreecommitdiff
path: root/type.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2013-02-06 15:46:04 +0100
committerPetr Machata <pmachata@redhat.com>2013-03-12 00:08:53 +0100
commit982cbca34b2b49a158086ff5f43eb9bba89edead (patch)
treee09a0ed55a5e22cd78cd483577156a2ae838b770 /type.h
parent62fc7747d37cacfb21381961674c07ebab5f2fb9 (diff)
downloadltrace-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.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/type.h b/type.h
index b92c1af..3210677 100644
--- a/type.h
+++ b/type.h
@@ -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 */