summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-23 00:01:10 +0100
committerDamien <damien.p.george@gmail.com>2013-10-23 00:01:10 +0100
commit9fc7933ff2a807f93a734bafe8944bb862074495 (patch)
tree66d0a0ac1d3c75e34c405df3f08d260eb7f2093e /py/runtime.h
parente9f1e50be49edc6d01ff006e0a1f5291672ec808 (diff)
downloadmicropython-9fc7933ff2a807f93a734bafe8944bb862074495.tar.gz
micropython-9fc7933ff2a807f93a734bafe8944bb862074495.zip
Add py_get_qstr.
Diffstat (limited to 'py/runtime.h')
-rw-r--r--py/runtime.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/py/runtime.h b/py/runtime.h
index 50de956b5e..dedbf1bad4 100644
--- a/py/runtime.h
+++ b/py/runtime.h
@@ -97,7 +97,8 @@ 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 rt_get_int(py_obj_t arg);
+int py_get_int(py_obj_t arg);
+qstr py_get_qstr(py_obj_t arg);
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);