X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/3b10bbd3a88d6e16146414d91d06bb2f36347bfc..5b42e9400440d86723a27747b2191ab8cd59c2ee:/src/util.h diff --git a/src/util.h b/src/util.h index 9d0d0cb..8e84318 100644 --- a/src/util.h +++ b/src/util.h @@ -23,7 +23,7 @@ #define _UTIL_H_ /* print an error, or warning (if 'is_warn') referring to 'line' */ -void print_error(int is_warn, char *error, int line); +void print_error(gboolean is_warn, char *error, int line); /* remove the : separator from a typename */ char * remove_sep(char *base); @@ -41,5 +41,14 @@ char * make_pre_macro(char *base, 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); +enum { + SPECIAL_2POINTER, + SPECIAL_3POINTER, + SPECIAL_INT_POINTER, + SPECIAL_LAST +}; +/* returns TRUE if there are any special types at all */ +gboolean setup_special_array(Class *c, gboolean *special_array); + #endif