jdmacros.h 368 B

123456789101112131415
  1. /* Fully rewritten to use glib rather than S-Lang replacements */
  2. #ifndef _JD_MACROS_H_
  3. #define _JD_MACROS_H_
  4. #include <glib.h>
  5. #define SLMEMSET(x,y,z) memset(x,y,z)
  6. #define SLMEMCPY(x,y,z) memcpy(x,y,z)
  7. #define SLfree(x) g_free(x)
  8. #define SLmalloc(x) g_malloc(x)
  9. #define SLrealloc(x,y) g_realloc(x,y)
  10. #define SLvsnprintf g_vsnprintf
  11. #endif /* _JD_MACROS_H_ */