summaryrefslogtreecommitdiff
path: root/py/runtime.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-11-02 14:33:10 +0000
committerDamien <damien.p.george@gmail.com>2013-11-02 14:33:10 +0000
commit4ebb32fb952c02eb554311cbbd0acac7e858570b (patch)
treea338fa2a273348f414c63eabf643650a3499f98b /py/runtime.h
parent4c51cbdc0b41cfe4a9193e8afd89f0584afb4446 (diff)
Implement: str.join, more float support, ROT_TWO in VM.
Diffstat (limited to 'py/runtime.h')
-rw-r--r--py/runtime.h7
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);