summaryrefslogtreecommitdiff
path: root/py/runtime.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-12-10 17:27:24 +0000
committerDamien <damien.p.george@gmail.com>2013-12-10 17:27:24 +0000
commitdb4c361f1cb805dca8e4c2d6c6a9ac61ae0c9c36 (patch)
tree41e4ca510fbfd590aa7341b23d62eff4d3c42399 /py/runtime.h
parent261dbf8ce55e7237d5fa8cb65c1f33fc922db34d (diff)
py: add skeletal import functionality.
Diffstat (limited to 'py/runtime.h')
-rw-r--r--py/runtime.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/runtime.h b/py/runtime.h
index db16809ec..c1d1936bf 100644
--- a/py/runtime.h
+++ b/py/runtime.h
@@ -145,6 +145,8 @@ void rt_store_attr(py_obj_t base, qstr attr, py_obj_t val);
void rt_store_subscr(py_obj_t base, py_obj_t index, py_obj_t val);
py_obj_t rt_getiter(py_obj_t o);
py_obj_t rt_iternext(py_obj_t o);
+py_obj_t rt_import_name(qstr name, py_obj_t fromlist, py_obj_t level);
+py_obj_t rt_import_from(py_obj_t module, qstr name);
// temporary way of making C modules
py_obj_t py_module_new(void);