diff options
| author | Damien George | 2015-01-12 22:30:49 +0000 |
|---|---|---|
| committer | Damien George | 2015-01-12 22:30:49 +0000 |
| commit | cd3420740909b3b6a2140b613b591b7556b417a2 (patch) | |
| tree | 767cea7dc4f378781da48d90fe0952c74979ac63 /py/obj.c | |
| parent | 3dd1c0a88aadb2fef210375709a32b6fdf88d3a7 (diff) | |
py: Can compile with -Wmissing-declarations and -Wmissing-prototypes.
Diffstat (limited to 'py/obj.c')
| -rw-r--r-- | py/obj.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -36,6 +36,7 @@ #include "py/runtime0.h" #include "py/runtime.h" #include "py/stackctrl.h" +#include "py/pfenv.h" mp_obj_type_t *mp_obj_get_type(mp_const_obj_t o_in) { if (MP_OBJ_IS_SMALL_INT(o_in)) { @@ -52,13 +53,6 @@ const char *mp_obj_get_type_str(mp_const_obj_t o_in) { return qstr_str(mp_obj_get_type(o_in)->name); } -void printf_wrapper(void *env, const char *fmt, ...) { - va_list args; - va_start(args, fmt); - vprintf(fmt, args); - va_end(args); -} - void mp_obj_print_helper(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t o_in, mp_print_kind_t kind) { // There can be data structures nested too deep, or just recursive MP_STACK_CHECK(); |
