X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/714b58ab4606ed4d40cec3702cb378938f8c883f..7231d76fbf4ae0b501af648e1216b88714aa7353:/src/util.h diff --git a/src/util.h b/src/util.h index 20692b0..f80eafc 100644 --- a/src/util.h +++ b/src/util.h @@ -20,8 +20,8 @@ * USA. */ -#ifndef _UTIL_H_ -#define _UTIL_H_ +#ifndef UTIL_H +#define UTIL_H enum { GOB_WARN, @@ -47,7 +47,8 @@ void separns_replace_sep(const char *base, char **ns, char **name, char r); char * make_pre_macro(const char *base,const char *pre); /* get a name usable for a cast from a GTK+ type (without GTK_TYPE_)*/ -const char * get_cast(char *type, gboolean simple_only); +const char * get_cast (const char *type, gboolean simple_only); +Type * get_tree_type (const char *type, gboolean simple_only); enum { SPECIAL_2POINTER, @@ -58,8 +59,4 @@ enum { /* returns TRUE if there are any special types at all */ gboolean setup_special_array(Class *c, gboolean *special_array); -/* get the id without the first underscore, but only if we're removing them */ -const char *get_real_id(const char *id); - -#endif - +#endif /* UTIL_H */