diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-01-11 16:31:12 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-01-11 16:31:12 -0800 |
commit | b765dfd93a0499de9781ff50efdc989cf06bba03 (patch) | |
tree | 7096d6c672446845e41ee347448cfd2f5185af74 /txr.c | |
parent | 7639a095e61af6c9c0f502957b7ff2c3817acab1 (diff) | |
download | txr-b765dfd93a0499de9781ff50efdc989cf06bba03.tar.gz txr-b765dfd93a0499de9781ff50efdc989cf06bba03.tar.bz2 txr-b765dfd93a0499de9781ff50efdc989cf06bba03.zip |
TXR Lisp regression in C global variables.
* eval.c (struct c_var): New struct type.
(lookup_var, lookup_var_l): cptr type bindings now point to a struct
c_var, which has to be handled properly here.
(c_var_mark): New static function.
(c_var_ops): New static struct.
(reg_var): Register variables using struct c_var to provide
a pointer to the location and a cached cons that can be
returned as a binding.
Diffstat (limited to 'txr.c')
0 files changed, 0 insertions, 0 deletions