projects
/
rodin
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Edited platform-dependent part of Blorb layer to use g_malloc() functions, they are...
[rodin/chimara.git]
/
libchimara
/
gi_blorb.c
diff --git
a/libchimara/gi_blorb.c
b/libchimara/gi_blorb.c
index 329280dd1adfe44121a0a9640991e064530236a0..9f4c031b709e642a2e2d9a2f0ae3cb160f8461b8 100644
(file)
--- a/
libchimara/gi_blorb.c
+++ b/
libchimara/gi_blorb.c
@@
-582,22
+582,22
@@
giblorb_resdesc_t *giblorb_bsearch(giblorb_resdesc_t *sample,
/* Boring utility functions. If your platform doesn't support ANSI
malloc(), feel free to edit these however you like. */
/* Boring utility functions. If your platform doesn't support ANSI
malloc(), feel free to edit these however you like. */
-#include <
std
lib.h> /* The OS-native header file -- you can edit
+#include <
g
lib.h> /* The OS-native header file -- you can edit
this too. */
static void *giblorb_malloc(glui32 len)
{
this too. */
static void *giblorb_malloc(glui32 len)
{
- return malloc(len);
+ return
g_
malloc(len);
}
static void *giblorb_realloc(void *ptr, glui32 len)
{
}
static void *giblorb_realloc(void *ptr, glui32 len)
{
- return realloc(ptr, len);
+ return
g_
realloc(ptr, len);
}
static void giblorb_free(void *ptr)
{
}
static void giblorb_free(void *ptr)
{
- free(ptr);
+
g_
free(ptr);
}
}