diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-11-05 19:59:05 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-11-05 19:59:05 -0700 |
commit | a5f2b7e6641a5f7ebaf01dd0e9fa10200ceb4606 (patch) | |
tree | 4e9c4f5083bd2b4016edf2555f3b2bcc032950ea /lib.h | |
parent | b347ef4f083443e608b46f308894acc2567ce630 (diff) | |
download | txr-a5f2b7e6641a5f7ebaf01dd0e9fa10200ceb4606.tar.gz txr-a5f2b7e6641a5f7ebaf01dd0e9fa10200ceb4606.tar.bz2 txr-a5f2b7e6641a5f7ebaf01dd0e9fa10200ceb4606.zip |
Task #11442. Access to environment variables.
* lib.c (env_list): New static variable.
(env): New function.
(match): Declaration of nonexistent function removed.
(obj_init): New variable gc-protected.
* lib.h (env): Declared.
* match.c (env_k): New symbol variable.
(v_next): Implemented :env.
* txr.1: @(next :env) described.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -435,6 +435,7 @@ val merge(val list1, val list2, val lessfun, val keyfun); val sort(val list, val lessfun, val keyfun); val find(val list, val key, val testfun, val keyfun); val set_diff(val list1, val list2, val testfun, val keyfun); +val env(void); void obj_print(val obj, val stream); void obj_pprint(val obj, val stream); @@ -442,7 +443,6 @@ void init(const wchar_t *progname, mem_t *(*oom_realloc)(mem_t *, size_t), val *stack_bottom); void dump(val obj, val stream); void d(val obj); -val match(val spec, val data); #define nil ((obj_t *) 0) |