summaryrefslogtreecommitdiff
path: root/py/runtime.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-10 11:24:39 +0100
committerDamien <damien.p.george@gmail.com>2013-10-10 11:24:39 +0100
commit7f5dacf34566ba6bbc49ca5a276d01cf4996cc6e (patch)
treefc4a158f1e5a15799e887715a1007d10beea5e2d /py/runtime.h
parenta397776d6bf1a9d0b07d7138b289cd661c5e1b99 (diff)
Implement basic class/object in native code.
Diffstat (limited to 'py/runtime.h')
-rw-r--r--py/runtime.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/runtime.h b/py/runtime.h
index d72182cb3..f1832be24 100644
--- a/py/runtime.h
+++ b/py/runtime.h
@@ -51,9 +51,11 @@ typedef enum {
RT_F_LOAD_CONST_STR = 0,
RT_F_LOAD_NAME,
RT_F_LOAD_GLOBAL,
+ RT_F_LOAD_BUILD_CLASS,
RT_F_LOAD_ATTR,
RT_F_LOAD_METHOD,
RT_F_STORE_NAME,
+ RT_F_STORE_ATTR,
RT_F_STORE_SUBSCR,
RT_F_IS_TRUE,
RT_F_UNARY_OP,
@@ -67,6 +69,7 @@ typedef enum {
RT_F_CALL_FUNCTION_2,
RT_F_CALL_METHOD_1,
RT_F_CALL_METHOD_2,
+ RT_F_CALL_METHOD_N,
RT_F_BINARY_OP,
RT_F_COMPARE_OP,
RT_F_NUMBER_OF,