Mercurial > repos > rhope
diff runtime/object.h @ 40:789a146a48e1
Started adding support for naked values in user defined objects
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 09 Oct 2009 01:01:26 -0400 |
parents | 495dddadd058 |
children | 1b86a1ee500a |
line wrap: on
line diff
--- a/runtime/object.h Thu Oct 08 00:37:24 2009 -0400 +++ b/runtime/object.h Fri Oct 09 01:01:26 2009 -0400 @@ -77,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);