diff runtime/object.h @ 36:495dddadd058

User defined types work in the compiler now
author Mike Pavone <pavone@retrodev.com>
date Sat, 03 Oct 2009 03:18:15 -0400
parents df038cef648b
children 789a146a48e1 d2f9b0a9403d
line wrap: on
line diff
--- a/runtime/object.h	Wed Sep 30 23:55:04 2009 -0400
+++ b/runtime/object.h	Sat Oct 03 03:18:15 2009 -0400
@@ -66,6 +66,7 @@
 object * alloc_object(blueprint * bp);
 void * alloc_variable(uint32_t size);
 object * new_object(uint32_t type);
+object * new_object_bp(blueprint * bp);
 multisize * new_multisize(uint32_t type, uint32_t size);
 void release_ref(object * obj);
 blueprint * register_type_byid(uint32_t type, uint32_t size, special_func init, special_func copy, special_func cleanup);