Update, from build attempt, we are missing more stuff
authorMiguel de Icaza <miguel@gnome.org>
Sun, 8 Oct 2006 21:20:08 +0000 (21:20 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Sun, 8 Oct 2006 21:20:08 +0000 (21:20 -0000)
svn path=/trunk/mono/; revision=66432

eglib/TODO
eglib/configure.ac
eglib/src/glib.h

index bce925dd7794289d30022ae759d111a37f7756fc..0a7a9d8684e09a23c285e6acf87b3328af623712 100644 (file)
@@ -4,8 +4,17 @@
              3 g_shell_quote
              1 g_shell_unquote
 
+       * String
+               g_ascii_strncasecmp
+               g_strjoinv
+
        * Miscelaneous
              3 g_spaced_primes_closest
+               g_propagate_error
+               
+       GUINT32_FROM_LE
+       GLIB_CHECK_VERSION       -- currently broken, but does not matterh much
+       MIN
 
 ---------------------------------------------------------------------- 
 
index f942f714211387a57e444234fa1420d175babcf2..81dc282b8e250844a6a25317f22653f85679daaf 100644 (file)
@@ -14,7 +14,6 @@ GNUC_PRETTY=
 GNUC_UNUSED=
 BREAKPOINT=
 if test x$GCC = xyes; then
-   GNUC_PRETTY=__PRETTY_FUNCTION__
    GNUC_UNUSED='__attribute__((__unused__))'
    GNUC_NORETURN='__attribute__((__noreturn__))'
    case $target in
index d8f7805cc3471b69bc6510cb65cb6fac22e4d7f4..ca7eca8051072ba81fe67f79b02d2eba8bfd0ef4 100644 (file)
@@ -65,6 +65,12 @@ typedef uint16_t       gunichar2;
 #define EGLIB_STRINGIFY(x) #x
 #define EGLIB_TOSTRING(x) EGLIB_STRINGIFY(x)
 #define G_STRLOC __FILE__ ":" EGLIB_TOSTRING(__LINE__) ":"
+
+#define G_BEGIN_DECLS
+#define G_END_DECLS
+#define G_CONST_RETURN const
+
 /*
  * Allocation
  */
@@ -205,6 +211,8 @@ gint         g_snprintf        (gchar *string, gulong n, gchar const *format, ..
 gsize       g_strlcpy          (gchar *dest, const gchar *src, gsize dest_size);
 #endif
 
+gchar  *g_ascii_strdown (const gchar *str, gssize len);
+
 #define g_ascii_isspace(c) (isspace (c) != 0)
 #define g_ascii_isalpha(c) (isalpha (c) != 0)
 #define g_ascii_isprint(c) (isprint (c) != 0)
@@ -371,7 +379,7 @@ struct _GPtrArray {
        guint len;
 };
 
-GPtrArray *g_ptr_array_new                ();
+GPtrArray *g_ptr_array_new                (void);
 GPtrArray *g_ptr_array_sized_new          (guint reserved_size);
 void       g_ptr_array_add                (GPtrArray *array, gpointer data);
 gboolean   g_ptr_array_remove             (GPtrArray *array, gpointer data);
@@ -401,23 +409,6 @@ gboolean g_queue_is_empty  (GQueue   *queue);
 GQueue  *g_queue_new       (void);
 void     g_queue_free      (GQueue   *queue);
 
-
-/*
- * Modules
- */
-typedef enum {
-       G_MODULE_BIND_LAZY = 0x01,
-       G_MODULE_BIND_LOCAL = 0x02,
-       G_MODULE_BIND_MASK = 0x03
-} GModuleFlags;
-typedef struct _GModule GModule;
-
-GModule *g_module_open (const gchar *file, GModuleFlags flags);
-gboolean g_module_symbol (GModule *module, const gchar *symbol_name,
-                         gpointer *symbol);
-const gchar *g_module_error (void);
-gboolean g_module_close (GModule *module);
-gchar *  g_module_build_path (const gchar *directory, const gchar *module_name);
 /*
  * Messages
  */
@@ -457,7 +448,7 @@ void           g_log                  (const gchar *log_domain, GLogLevelFlags l
  * Conversions
  */
 
-gpointer g_convert_error_quark();
+gpointer g_convert_error_quark(void);
 
 
 /*
@@ -478,6 +469,10 @@ GUnicodeType   g_unichar_type    (gunichar c);
 #define MAX(a,b) (((a)>(b)) ? (a) : (b))
 #endif
 
+#ifndef MIN
+#define MIN(a,b) (((a)<(b)) ? (a) : (b))
+#endif
+
 /* FIXME: Implement these two for gcc */
 #define G_LIKELY(x) (x)
 #define G_UNLIKELY(x) (x)
@@ -516,6 +511,8 @@ gboolean g_path_is_absolute    (const char *filename);
 const gchar *g_get_home_dir    (void);
 const gchar *g_get_tmp_dir     (void);
 const gchar *g_get_user_name   (void);
+gchar *g_get_prgname           (void);
+void  g_set_prgname            (const gchar *prgname);
 
 /*
  * Shell
@@ -712,6 +709,8 @@ GHashTable     *g_hash_table_new_alloc       (GHashFunc hash_func, GEqualFunc ke
 GHashTable     *g_hash_table_new_full_alloc  (GHashFunc hash_func, GEqualFunc key_equal_func,
                                              GDestroyNotify key_destroy_func, GDestroyNotify value_destroy_func,
                                              GMAlloc allocfn, GMFree freefn);
+
+#define GLIB_CHECK_VERSION(a,b,c)    TRUE
  
 #endif