mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
c5800b05f3
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.
16 lines
368 B
C
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_ */
|