Mercurial > repos > tabletprog
view runtime/proghead.inc @ 84:9811040704ac
Add support for llMessage:withVars:andCode and llProperty:withType for specifying low level code without having to stick C inside the compiler. Redo array built-in type to use this feature.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 21 Jul 2012 22:30:21 -0700 |
parents | abc6f3d644a4 |
children | ab7c142090a0 |
line wrap: on
line source
#include "object.h" #include <stddef.h> #include <stdlib.h> #include <stdio.h> #include <gc/gc.h> object * main_module; object * no_impl(uint32_t method_id, uint32_t num_args, object * self, va_list args) { fprintf(stderr, "method %d is not implemented on object %p\n", method_id, self); fprintf(stderr, "main_module %p\n", main_module); exit(1); return NULL; }