From 93a9b5b64d8c26ed1df739a59e6eabcfe1c64aa7 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 8 Jan 2014 18:48:12 +0000 Subject: py: Proper framework for built-in 'type'. --- py/objfloat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'py/objfloat.c') diff --git a/py/objfloat.c b/py/objfloat.c index d21472d5d..283285b07 100644 --- a/py/objfloat.c +++ b/py/objfloat.c @@ -24,6 +24,7 @@ static void float_print(void (*print)(void *env, const char *fmt, ...), void *en print(env, "%.8g", o->value); } +// args are reverse in the array static mp_obj_t float_make_new(mp_obj_t type_in, int n_args, const mp_obj_t *args) { switch (n_args) { case 0: -- cgit v1.2.3