Add py_get_array_fixed_n function.

This commit is contained in:
Damien
2013-10-25 00:40:38 +01:00
parent 7ee80bac8e
commit 2839168340
2 changed files with 13 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ void py_obj_print(py_obj_t o);
int rt_is_true(py_obj_t arg);
int py_get_int(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 rt_load_const_str(qstr qstr);
py_obj_t rt_load_name(qstr qstr);