comparison 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
comparison
equal deleted inserted replaced
35:3498713c3dc9 36:495dddadd058
64 returntype set_field(uint32_t setfieldid, calldata * params); 64 returntype set_field(uint32_t setfieldid, calldata * params);
65 returntype get_field(uint32_t getfieldid, calldata * params); 65 returntype get_field(uint32_t getfieldid, calldata * params);
66 object * alloc_object(blueprint * bp); 66 object * alloc_object(blueprint * bp);
67 void * alloc_variable(uint32_t size); 67 void * alloc_variable(uint32_t size);
68 object * new_object(uint32_t type); 68 object * new_object(uint32_t type);
69 object * new_object_bp(blueprint * bp);
69 multisize * new_multisize(uint32_t type, uint32_t size); 70 multisize * new_multisize(uint32_t type, uint32_t size);
70 void release_ref(object * obj); 71 void release_ref(object * obj);
71 blueprint * register_type_byid(uint32_t type, uint32_t size, special_func init, special_func copy, special_func cleanup); 72 blueprint * register_type_byid(uint32_t type, uint32_t size, special_func init, special_func copy, special_func cleanup);
72 blueprint * new_blueprint(uint32_t type, uint32_t size, special_func init, special_func copy, special_func cleanup); 73 blueprint * new_blueprint(uint32_t type, uint32_t size, special_func init, special_func copy, special_func cleanup);
73 void add_method(blueprint * bp, uint32_t methodid, rhope_func impl); 74 void add_method(blueprint * bp, uint32_t methodid, rhope_func impl);