void error_printf(int type, int line, const char *error, ...) G_GNUC_PRINTF (3, 4);
/* remove the : separator from a typename */
void error_printf(int type, int line, const char *error, ...) G_GNUC_PRINTF (3, 4);
/* remove the : separator from a typename */
/* replace the : separator from a typename with a different character*/
char * replace_sep(const char *base, char r);
/* replace the : separator from a typename with a different character*/
char * replace_sep(const char *base, 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_)*/
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);
/* returns TRUE if there are any special types at all */
gboolean setup_special_array(Class *c, gboolean *special_array);
/* returns TRUE if there are any special types at all */
gboolean setup_special_array(Class *c, gboolean *special_array);