aboutsummaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorTeddy <[email protected]>2013-08-08 11:01:11 +0800
committerTeddy <[email protected]>2013-08-08 11:01:11 +0800
commitcff8072df5daba2c38ae2765af36cbb09da358f1 (patch)
tree31ea2b425342c2de43fa6d58125f9ea995948452 /builtin.h
parent56a85b5111751f5947579b5ee5cc92bdebb799c4 (diff)
`lambda` and `define` are fully supported now
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
index fe1c925..2756d18 100644
--- a/builtin.h
+++ b/builtin.h
@@ -117,10 +117,12 @@ class IntNumObj: public ExactNumObj {
int val;
/** Construct a integer */
IntNumObj(int val);
+ int get_i();
#else
mpz_class val;
/** Construct a integer */
IntNumObj(mpz_class val);
+ int get_i();
#endif
/** Try to construct an IntNumObj object
* @return NULL if failed
@@ -260,6 +262,8 @@ BUILTIN_PROC_DEF(is_list);
BUILTIN_PROC_DEF(make_list);
BUILTIN_PROC_DEF(length);
BUILTIN_PROC_DEF(append);
+BUILTIN_PROC_DEF(reverse);
+BUILTIN_PROC_DEF(list_tail);
BUILTIN_PROC_DEF(display);