]> git.draconx.ca Git - gob-dx.git/blobdiff - src/util.h
Avoid using reserved identifiers.
[gob-dx.git] / src / util.h
index 03a12d12fbd0701efad6f1cb003b204f908554dd..8794394cece87059b5231b408b56f0d89ceb931a 100644 (file)
@@ -26,8 +26,8 @@
 
 #include <glib.h>
 
-struct _Class;
-struct _Type;
+struct Class;
+struct Type;
 
 enum {
        GOB_WARN,
@@ -73,8 +73,8 @@ char * make_pre_macro(const char *base,const  char *pre);
 
 /* get a name usable for a cast from a GObject (without G_TYPE_)*/
 const char *get_cast(const char *type, gboolean simple_only);
-struct _Type *get_tree_type(const char *type, gboolean simple_only);
-char *get_type(const struct _Type *t, gboolean postfix_to_stars);
+struct Type *get_tree_type(const char *type, gboolean simple_only);
+char *get_type(const struct Type *t, gboolean postfix_to_stars);
 
 enum {
        SPECIAL_2POINTER,
@@ -84,7 +84,7 @@ enum {
 };
 
 /* returns TRUE if there are any special types at all */
-gboolean setup_special_array(struct _Class *c, gboolean *special_array);
+gboolean setup_special_array(struct Class *c, gboolean *special_array);
 
 char * make_me_type (const char *type, const char *alt);