From 36d8dff3ae5bf315fe3b13555e6efdc08932c128 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Sat, 27 Mar 2021 18:07:14 +0300 Subject: . --- include/csx.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/csx.h b/include/csx.h index 8dfab4a..2298fcf 100644 --- a/include/csx.h +++ b/include/csx.h @@ -4,11 +4,10 @@ typedef struct csxobj { int mark; - char *type; - char data[1]; /* data is here only for easy conversion back */ + void *type; } csxobj; -csxobj *csx_obj(void *p); +csxobj *csx_obj(void *x); typedef struct csxpair { @@ -53,7 +52,7 @@ typedef struct csxbasenames { } csxbasenames; typedef struct csxi { - void **objs; + csxobj **objs; int objslen; int objssize; void **stack; -- cgit v1.2.3