mc/slang/include/jdmacros.h
Andrew V. Samoilov c5800b05f3 * include/slang.h: comment out declaration of SLmemset(), SLmemchr(),
SLmemcpy(), SLmemcmp(), SLmalloc(), SLfree(), SLrealloc().
        * slcommon.c: comment out definitions of SLmalloc(), SLfree(),
        SLrealloc().
        * include/jdmacros.h: Fully rewritten to use glib rather than S-Lang
        replacements.
        * slmisc.c: Remove SLang_Version variable.
2006-01-18 05:34:20 +00:00

16 lines
368 B
C

/* Fully rewritten to use glib rather than S-Lang replacements */
#ifndef _JD_MACROS_H_
#define _JD_MACROS_H_
#include <glib.h>
#define SLMEMSET(x,y,z) memset(x,y,z)
#define SLMEMCPY(x,y,z) memcpy(x,y,z)
#define SLfree(x) g_free(x)
#define SLmalloc(x) g_malloc(x)
#define SLrealloc(x,y) g_realloc(x,y)
#define SLvsnprintf g_vsnprintf
#endif /* _JD_MACROS_H_ */