Mercurial > repos > rhope
diff runtime/object.h @ 62:b218af069da7
merge
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 10 Oct 2009 16:43:37 -0400 |
parents | d2f9b0a9403d 1b86a1ee500a |
children | 04baa003de5a |
line wrap: on
line diff
--- a/runtime/object.h Thu Oct 08 23:16:26 2009 -0400 +++ b/runtime/object.h Sat Oct 10 16:43:37 2009 -0400 @@ -14,6 +14,7 @@ special_func init; special_func copy; special_func cleanup; + special_func free; struct object *name; uint32_t type_id; uint32_t first_methodid; @@ -76,6 +77,8 @@ returntype convert_to(uint32_t convertto, calldata * params); returntype convert_from(uint32_t convertfrom, calldata * params); object * copy_object(object * tocopy); +object * naked_to_boxed(uint32_t type, void * rawdata); +void boxed_to_naked(object * src, void * dest); returntype coerce_value(uint32_t type, calldata * params); blueprint * get_blueprint_byid(uint32_t type);