aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-03-27 18:07:14 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-03-27 18:07:14 +0300
commit36d8dff3ae5bf315fe3b13555e6efdc08932c128 (patch)
treec63b11077fffb8a957c48c66af603f80f3d0c0a6 /include
parentdf110a9bee56548770a7256845e0d1b84a959972 (diff)
downloadcsx-36d8dff3ae5bf315fe3b13555e6efdc08932c128.tar
csx-36d8dff3ae5bf315fe3b13555e6efdc08932c128.tar.xz
csx-36d8dff3ae5bf315fe3b13555e6efdc08932c128.zip
.
Diffstat (limited to 'include')
-rw-r--r--include/csx.h7
1 files changed, 3 insertions, 4 deletions
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;