Mercurial > repos > rhope
comparison runtime/object.h @ 34:df038cef648b
More work on supporting user defined types in the C backend
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 30 Sep 2009 01:25:03 -0400 |
parents | 914ad38f9b59 |
children | 495dddadd058 |
comparison
equal
deleted
inserted
replaced
33:3b47a8538df2 | 34:df038cef648b |
---|---|
69 multisize * new_multisize(uint32_t type, uint32_t size); | 69 multisize * new_multisize(uint32_t type, uint32_t size); |
70 void release_ref(object * obj); | 70 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); | 71 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); | 72 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); | 73 void add_method(blueprint * bp, uint32_t methodid, rhope_func impl); |
74 void add_getter(blueprint * bp, uint32_t fieldid, rhope_func impl); | |
75 void add_setter(blueprint * bp, uint32_t fieldid, rhope_func impl); | |
74 returntype convert_to(uint32_t convertto, calldata * params); | 76 returntype convert_to(uint32_t convertto, calldata * params); |
75 returntype convert_from(uint32_t convertfrom, calldata * params); | 77 returntype convert_from(uint32_t convertfrom, calldata * params); |
76 object * copy_object(object * tocopy); | 78 object * copy_object(object * tocopy); |
77 returntype coerce_value(uint32_t type, calldata * params); | 79 returntype coerce_value(uint32_t type, calldata * params); |
78 blueprint * get_blueprint_byid(uint32_t type); | 80 blueprint * get_blueprint_byid(uint32_t type); |