Merge pull request #693 from cseagle/noglib

add g_free to make future integration easier
This commit is contained in:
Nguyen Anh Quynh 2016-12-21 08:50:52 +08:00 committed by GitHub
commit 6a2eb14ff3

View file

@ -106,6 +106,7 @@ GHashTable *g_hash_table_ref(GHashTable *hash_table);
guint g_hash_table_size(GHashTable *hash_table);
/* replacement for g_malloc dependency */
#define g_free(x) free(x)
void *g_malloc(size_t size);
void *g_malloc0(size_t size);
void *g_try_malloc0(size_t size);