projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(untested) support for global variables
[cparser]
/
type.h
diff --git
a/type.h
b/type.h
index
23f3d2c
..
2bf5940
100644
(file)
--- a/
type.h
+++ b/
type.h
@@
-41,12
+41,16
@@
void inc_type_visited(void);
void set_print_compound_entries(bool enabled);
void set_print_compound_entries(bool enabled);
-
/**
* returns true if type contains integer numbers
*/
bool is_type_integer(const type_t *type);
/**
* returns true if type contains integer numbers
*/
bool is_type_integer(const type_t *type);
+/**
+ * return true if type contains signed numbers
+ */
+bool is_type_signed(const type_t *type);
+
/**
* returns true if type contains floating point numbers
*/
/**
* returns true if type contains floating point numbers
*/
@@
-68,4
+72,8
@@
bool is_type_arithmetic(const type_t *type);
*/
bool is_type_scalar(const type_t *type);
*/
bool is_type_scalar(const type_t *type);
+bool pointers_compatible(const type_t *type1, const type_t *type2);
+
+type_t *skip_typeref(type_t *type);
+
#endif
#endif