aboutsummaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-02-25 22:59:53 +0100
committerHugo Hörnquist <hugo@hornquist.se>2019-02-25 22:59:53 +0100
commit6355700d4101a6e515311c96bf8e25bb1bb51d92 (patch)
tree01b362d60f6fa58d55a0bd1e76e2c3194d2b5b1e /strbuf.h
parentReenable guile stuff. (diff)
downloadcalp-6355700d4101a6e515311c96bf8e25bb1bb51d92.tar.gz
calp-6355700d4101a6e515311c96bf8e25bb1bb51d92.tar.xz
Add scm field to strbuf.
Diffstat (limited to 'strbuf.h')
-rw-r--r--strbuf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/strbuf.h b/strbuf.h
index de4cc29b..850b0dd5 100644
--- a/strbuf.h
+++ b/strbuf.h
@@ -2,6 +2,7 @@
#define STRBUF_H
#include <stdlib.h>
+#include <libguile.h>
#include "macro.h"
/*
@@ -14,6 +15,7 @@
*/
typedef struct {
char* mem;
+ SCM scm;
/* TODO add support for negative ptr */
int ptr;
unsigned int alloc;