summaryrefslogtreecommitdiffstatshomepage
path: root/py/objfloat.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-08 18:48:12 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-08 18:48:12 +0000
commit93a9b5b64d8c26ed1df739a59e6eabcfe1c64aa7 (patch)
treea7cc10ff0f3d5b97caae733784cf41c7ec276521 /py/objfloat.c
parent6c73ca1e754aa5fb822999a0b46f01e216619ec6 (diff)
downloadmicropython-93a9b5b64d8c26ed1df739a59e6eabcfe1c64aa7.tar.gz
micropython-93a9b5b64d8c26ed1df739a59e6eabcfe1c64aa7.zip
py: Proper framework for built-in 'type'.
Diffstat (limited to 'py/objfloat.c')
-rw-r--r--py/objfloat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/objfloat.c b/py/objfloat.c
index d21472d5d6..283285b07f 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: