diff options
Diffstat (limited to 'py/runtime.h')
| -rw-r--r-- | py/runtime.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/py/runtime.h b/py/runtime.h index 33d7bed26..f8c4972b0 100644 --- a/py/runtime.h +++ b/py/runtime.h @@ -97,10 +97,11 @@ void rt_assign_native_code(int unique_code_id, py_fun_t f, uint len, int n_args) void rt_assign_inline_asm_code(int unique_code_id, py_fun_t f, uint len, int n_args); void py_obj_print(py_obj_t o); int rt_is_true(py_obj_t arg); -int py_get_int(py_obj_t arg); +machine_int_t py_get_int(py_obj_t arg); +machine_float_t py_obj_get_float(py_obj_t arg); qstr py_get_qstr(py_obj_t arg); -py_obj_t *py_get_array_fixed_n(py_obj_t o, int n); -py_obj_t py_obj_new_int(int value); +py_obj_t *py_get_array_fixed_n(py_obj_t o, machine_int_t n); +py_obj_t py_obj_new_int(machine_int_t value); py_obj_t rt_load_const_str(qstr qstr); py_obj_t rt_load_name(qstr qstr); py_obj_t rt_load_global(qstr qstr); |
