diff runtime/object.h @ 170:18598163e3ef

Add linked list implementation and cons operator
author Mike Pavone <pavone@retrodev.com>
date Tue, 13 Aug 2013 21:58:03 -0700
parents 2a9c6eed0c70
children 75dc7161c1ca
line wrap: on
line diff
--- a/runtime/object.h	Fri Aug 09 21:01:11 2013 -0700
+++ b/runtime/object.h	Tue Aug 13 21:58:03 2013 -0700
@@ -37,5 +37,6 @@
 object * make_object(obj_meta * meta, void * parent, int num_props, ...);
 object * make_lambda(void * env, closure_func func);
 object * make_array(uint32_t num_els, ...);
+object * make_list(uint32_t num_els, ...);
 
 #endif //OBJECT_H_