Mercurial > repos > rhope
diff runtime/object.h @ 139:a68e6828d896
Global stores and transactions are working. Definately leaks memory on retries. Probably a fair number of bugs to work out. However, a basic test program works.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 19 Nov 2010 04:04:14 -0500 |
parents | 60906f8803ef |
children | 9fab36cc706b |
line wrap: on
line diff
--- a/runtime/object.h Tue Nov 16 21:53:18 2010 -0500 +++ b/runtime/object.h Fri Nov 19 04:04:14 2010 -0500 @@ -78,6 +78,7 @@ multisize * new_multisize(uint32_t type, uint32_t size); void release_ref(object * obj); blueprint * register_type_byid(uint32_t type, int32_t size, special_func init, special_func copy, special_func cleanup); +blueprint * register_type(int32_t size, special_func init, special_func copy, special_func cleanup); blueprint * new_blueprint(uint32_t type, int32_t size, special_func init, special_func copy, special_func cleanup); void add_method(blueprint * bp, uint32_t methodid, rhope_func impl); void add_getter(blueprint * bp, uint32_t fieldid, rhope_func impl);