Mercurial > repos > tabletprog
diff runtime/proghead.inc @ 35:bf5e88f6419d
Use a function/method call strategy that actually works
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 09 Jul 2012 21:32:28 -0700 |
parents | a10f1b049193 |
children | 2a9c6eed0c70 |
line wrap: on
line diff
--- a/runtime/proghead.inc Mon Jul 09 08:57:50 2012 -0700 +++ b/runtime/proghead.inc Mon Jul 09 21:32:28 2012 -0700 @@ -5,9 +5,9 @@ object * main_module; -object * no_impl(uint32_t method_id, uint32_t num_args, object ** params) +object * no_impl(uint32_t method_id, uint32_t num_args, object * self, va_list args) { - printf("method %d is not implemented on object %p\n", method_id, params[0]); + printf("method %d is not implemented on object %p\n", method_id, self); printf("main_module %p\n", main_module); exit(0); return NULL;