]> git.draconx.ca Git - gob-dx.git/blobdiff - src/util.h
Release 1.0.2
[gob-dx.git] / src / util.h
index 72121ca30a632960b3eb2e58059d0a491614ff04..ba7f1b5c2e136dbd3c888499f79d56180733c342 100644 (file)
@@ -29,15 +29,15 @@ void print_error(gboolean is_warn, char *error, int line);
 /* remove the : separator from a typename */
 char * remove_sep(char *base);
 /* replace the : separator from a typename with a different character*/
-char * replace_sep(char *base, char r);
+char * replace_sep(const char *base, char r);
 
 /*separate the namespace part and then replace rest of
   separators with r*/
-void separns_replace_sep(char *base, char **ns, char **name, char r);
+void separns_replace_sep(const char *base, char **ns, char **name, char r);
 
 /* make a macro with some prefix before the name but after
    namespace */
-char * make_pre_macro(char *base, char *pre);
+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);