]> git.draconx.ca Git - gob-dx.git/blobdiff - src/util.h
Avoid GLib deprecation warnings when building gob.
[gob-dx.git] / src / util.h
index f80eafccc082b5cdcdf4cc1871e34b3c504155df..bb69ed21bed5ddcc07b807c8c4b7d25a26bf774f 100644 (file)
@@ -38,6 +38,11 @@ char * remove_sep(const char *base);
 /* replace the : separator from a typename with a different character*/
 char * replace_sep(const char *base, char r);
 
+char * gob_strup (char *s);
+char * gob_strdown (char *s);
+char * gob_str_delete_quotes(char *str);
+int gob_strcasecmp(const char *s1, const char *s2);
+
 /*separate the namespace part and then replace rest of
   separators with r*/
 void separns_replace_sep(const char *base, char **ns, char **name, char r);
@@ -46,9 +51,10 @@ void separns_replace_sep(const char *base, char **ns, char **name, char r);
    namespace */
 char * make_pre_macro(const char *base,const  char *pre);
 
-/* get a name usable for a cast from a GTK+ type (without GTK_TYPE_)*/
+/* get a name usable for a cast from a GObject (without G_TYPE_)*/
 const char * get_cast (const char *type, gboolean simple_only);
 Type * get_tree_type (const char *type, gboolean simple_only);
+char * get_type (const Type *t, gboolean postfix_to_stars);
 
 enum {
        SPECIAL_2POINTER,
@@ -59,4 +65,6 @@ enum {
 /* returns TRUE if there are any special types at all */
 gboolean setup_special_array(Class *c, gboolean *special_array);
 
+char * make_me_type (const char *type, const char *alt);
+
 #endif /* UTIL_H */