]> git.draconx.ca Git - gob-dx.git/blobdiff - src/util.h
Release 0.93.5
[gob-dx.git] / src / util.h
index 9d0d0cb4c6b4c226e48fe97a4e4df019efd39c5b..72121ca30a632960b3eb2e58059d0a491614ff04 100644 (file)
@@ -1,5 +1,6 @@
 /* GOB C Preprocessor
  * Copyright (C) 1999-2000 the Free Software Foundation.
+ * Copyright (C) 2000 Eazel, Inc.
  *
  * Author: George Lebl
  *
@@ -23,7 +24,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 +42,17 @@ 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);
+
+/* get the id without the first underscore, but only if we're removing them */
+char *get_real_id(char *id);
+
 #endif