diff options
author | Damien <damien.p.george@gmail.com> | 2013-10-23 00:01:10 +0100 |
---|---|---|
committer | Damien <damien.p.george@gmail.com> | 2013-10-23 00:01:10 +0100 |
commit | 9fc7933ff2a807f93a734bafe8944bb862074495 (patch) | |
tree | 66d0a0ac1d3c75e34c405df3f08d260eb7f2093e /py/runtime.h | |
parent | e9f1e50be49edc6d01ff006e0a1f5291672ec808 (diff) | |
download | micropython-9fc7933ff2a807f93a734bafe8944bb862074495.tar.gz micropython-9fc7933ff2a807f93a734bafe8944bb862074495.zip |
Add py_get_qstr.
Diffstat (limited to 'py/runtime.h')
-rw-r--r-- | py/runtime.h | 3 |
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); |