diff options
Diffstat (limited to 'include/dom/core/typeinfo.h')
-rw-r--r-- | include/dom/core/typeinfo.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/include/dom/core/typeinfo.h b/include/dom/core/typeinfo.h index f285799..caa2094 100644 --- a/include/dom/core/typeinfo.h +++ b/include/dom/core/typeinfo.h @@ -11,8 +11,7 @@ #include <stdbool.h> #include <dom/core/exceptions.h> - -struct dom_string; +#include <dom/core/string.h> typedef struct dom_type_info dom_type_info; @@ -24,24 +23,24 @@ typedef enum { } dom_type_info_derivation_method; dom_exception _dom_type_info_get_type_name(dom_type_info *ti, - struct dom_string **ret); + dom_string **ret); #define dom_type_info_get_type_name(t, r) _dom_type_info_get_type_name( \ - (dom_type_info *) (t), (struct dom_string **) (r)) + (dom_type_info *) (t), (dom_string **) (r)) dom_exception _dom_type_info_get_type_namespace(dom_type_info *ti, - struct dom_string **ret); + dom_string **ret); #define dom_type_info_get_type_namespace(t, r) \ _dom_type_info_get_type_namespace((dom_type_info *) (t),\ - (struct dom_string **) (r)) + (dom_string **) (r)) dom_exception _dom_type_info_is_derived(dom_type_info *ti, - struct dom_string *namespace, struct dom_string *name, + dom_string *namespace, dom_string *name, dom_type_info_derivation_method method, bool *ret); #define dom_type_info_is_derived(t, s, n, m, r) _dom_type_info_is_derived(\ - (dom_type_info *) (t), (struct dom_string *) (s), \ - (struct dom_string *) (n), \ + (dom_type_info *) (t), (dom_string *) (s), \ + (dom_string *) (n), \ (dom_type_info_derivation_method) (m), (bool *) (r)) |