comparison runtime/object.c @ 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
339 bp->last_methodid = methodid+1; 339 bp->last_methodid = methodid+1;
340 } 340 }
341 } 341 }
342 bp->method_lookup[methodid-bp->first_methodid] = impl; 342 bp->method_lookup[methodid-bp->first_methodid] = impl;
343 } 343 }
344
345 blueprint * get_blueprint_byid(uint32_t type)
346 {
347 if(type >= max_registered_type)
348 return NULL;
349 return registered_types[type];
350 }
351