summaryrefslogtreecommitdiff
path: root/src/lisp/ao_lisp_poly.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-12-01 18:28:16 +0100
committerKeith Packard <keithp@keithp.com>2017-12-01 18:28:16 +0100
commit98923ae1189f062b8b94120d47a56892db25493f (patch)
treeeb585acd5600f529397077cddbe7edcecfb1d0a3 /src/lisp/ao_lisp_poly.c
parent835bf4131f9e20575bfdf2179462ebdf54a14761 (diff)
altos/lisp: Split out frame vals from frame struct
This lets the frame be resized without moving the base structure. The plan is to allow all frames to be resized, not just the global frame. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lisp/ao_lisp_poly.c')
-rw-r--r--src/lisp/ao_lisp_poly.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lisp/ao_lisp_poly.c b/src/lisp/ao_lisp_poly.c
index e93e1192..d14f4151 100644
--- a/src/lisp/ao_lisp_poly.c
+++ b/src/lisp/ao_lisp_poly.c
@@ -44,6 +44,10 @@ static const struct ao_lisp_funcs ao_lisp_funcs[AO_LISP_NUM_TYPE] = {
.write = ao_lisp_frame_write,
.display = ao_lisp_frame_write,
},
+ [AO_LISP_FRAME_VALS] = {
+ .write = NULL,
+ .display = NULL,
+ },
[AO_LISP_LAMBDA] = {
.write = ao_lisp_lambda_write,
.display = ao_lisp_lambda_write,