mc/slang/include/jdmacros.h

15 lines
331 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 _SLvsnprintf g_vsnprintf
#endif /* _JD_MACROS_H_ */