py: Simplify objfun/objgenerator connection, no need to call bc_get.

This commit is contained in:
Damien George
2014-04-17 19:16:11 +01:00
parent d89b69eb3a
commit de7c425139
3 changed files with 1 additions and 12 deletions

View File

@@ -496,7 +496,6 @@ typedef struct _mp_obj_fun_native_t { // need this so we can define const object
// such functions won't be able to access the global scope, but that's probably okay
} mp_obj_fun_native_t;
void mp_obj_fun_bc_get(mp_obj_t self_in, int *n_args, const byte **code);
bool mp_obj_fun_prepare_simple_args(mp_obj_t self_in, uint n_args, uint n_kw, const mp_obj_t *args,
uint *out_args1_len, const mp_obj_t **out_args1, uint *out_args2_len, const mp_obj_t **out_args2);