core: Remove dead macros.

* include/mes/macros.h (CSTRING_STRUCT, START, LEN): Remove.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-05-19 08:49:55 +02:00
parent 781f4f0e6c
commit 96809cadf1
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -32,15 +32,12 @@
#define BYTES(x) g_cells[x].car
#define LENGTH(x) g_cells[x].car
#define REF(x) g_cells[x].car
#define START(x) (g_cells[x].car >> 16)
#define LEN(x) (g_cells[x].car & 0xffff)
#define VARIABLE(x) g_cells[x].car
#define CLOSURE(x) g_cells[x].cdr
#define CONTINUATION(x) g_cells[x].cdr
#define CBYTES(x) (char*)&g_cells[x].cdr
#define CSTRING_STRUCT(x) (char*)&g_cells[x.cdr].cdr
#define MACRO(x) g_cells[x].car
#define NAME(x) g_cells[x].cdr