Mercurial > repos > rhope
diff runtime/object.c @ 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 | 04baa003de5a |
children | ba35ab624ec2 |
line wrap: on
line diff
--- a/runtime/object.c Tue Nov 16 21:53:18 2010 -0500 +++ b/runtime/object.c Fri Nov 19 04:04:14 2010 -0500 @@ -338,6 +338,11 @@ return registered_types[type]; } +blueprint * register_type(int32_t size, special_func init, special_func copy, special_func cleanup) +{ + return register_type_byid(max_registered_type, size, init, copy, cleanup); +} + void add_method(blueprint * bp, uint32_t methodid, rhope_func impl) { rhope_func * temp;