comparison runtime/object.h @ 30:914ad38f9b59

Compiler now works for some simple programs
author Mike Pavone <pavone@retrodev.com>
date Mon, 28 Sep 2009 19:42:33 -0400
parents 31f8182f3433
children df038cef648b
comparison
equal deleted inserted replaced
29:3cc5e4a42344 30:914ad38f9b59
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 returntype convert_to(uint32_t convertto, calldata * params); 74 returntype convert_to(uint32_t convertto, calldata * params);
75 returntype convert_from(uint32_t convertfrom, calldata * params); 75 returntype convert_from(uint32_t convertfrom, calldata * params);
76 object * copy_object(object * tocopy); 76 object * copy_object(object * tocopy);
77 returntype coerce_value(uint32_t type, calldata * params); 77 returntype coerce_value(uint32_t type, calldata * params);
78 blueprint * get_blueprint_byid(uint32_t type);
78 79
79 #define INITIAL_TYPE_STORAGE 32 80 #define INITIAL_TYPE_STORAGE 32
80 #define INITIAL_METHOD_LOOKUP 8 81 #define INITIAL_METHOD_LOOKUP 8
81 #define BELOW_INITIAL_METHOD 3 82 #define BELOW_INITIAL_METHOD 3
82 83