home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / mc454src.zip / mc-4.5.4.src / os2emx / src / glib / gmem.c next >
C/C++ Source or Header  |  1999-01-04  |  308b  |  31 lines

  1. #ifdef HAVE_CONFIG_H
  2. #include <config.h>
  3. #endif
  4.  
  5. #include <stdlib.h>
  6. #include <string.h>
  7. #include "glib.h"
  8.  
  9.  
  10. gpointer
  11. g_malloc (gulong size)
  12. {
  13.   return malloc(size);
  14. }
  15.  
  16.  
  17. gpointer
  18. g_realloc (gpointer mem,
  19.        gulong   size)
  20. { return realloc(mem,size);
  21. }
  22.  
  23. void
  24. g_free (gpointer mem)
  25. {
  26.   if(mem)free(mem);
  27. }
  28.  
  29.  
  30.  
  31.