Benoît Minisini ba19f3c1dd * Copy https://gambas.svn.sourceforge.net/svnroot/gambas/2.0 to https://gambas.svn.sourceforge.net/svnroot/gambas/gambas
git-svn-id: svn://localhost/gambas/trunk@893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2007-12-30 16:41:49 +00:00

18 lines
510 B
C

#ifndef G_MEMORY_H
#define G_MEMORY_H
#include <glib.h>
#include "main.h"
#include "gambas.h"
gpointer gMalloc (gsize n_bytes);
gpointer gRealloc (gpointer mem,gsize n_bytes);
void gFree (gpointer mem);
void setGeneralMemoryHandler();
/*#define g_realloc(_p, _s) (g_print("g_realloc: %s.%d\n", __FILE__, __LINE__), gRealloc(_p, _s))
#define g_free(_p) (g_print("g_free: %s.%d\n", __FILE__, __LINE__), gFree(_p))
#define g_malloc(_s) (g_print("g_malloc: %s.%d\n", __FILE__, __LINE__), gMalloc(_s))*/
#endif