]> git.draconx.ca Git - gob-dx.git/blobdiff - src/util.h
Release 1.0.11
[gob-dx.git] / src / util.h
index 9eac4464ac2c3b689bdf9c7e4193b1822165c54c..31dfca48c4c7fec9d8b27570469f006e6bcff550 100644 (file)
@@ -34,7 +34,7 @@ void error_print(int type, int line, const char *error);
 void error_printf(int type, int line, const char *error, ...) G_GNUC_PRINTF (3, 4);
 
 /* remove the : separator from a typename */
-char * remove_sep(char *base);
+char * remove_sep(const char *base);
 /* replace the : separator from a typename with a different character*/
 char * replace_sep(const char *base, char r);
 
@@ -47,7 +47,7 @@ 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);
 
 enum {
        SPECIAL_2POINTER,
@@ -59,7 +59,7 @@ enum {
 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);
+const char *get_real_id(const char *id);
 
 #endif