diff options
| author | Damien <damien.p.george@gmail.com> | 2013-10-09 23:10:10 +0100 | 
|---|---|---|
| committer | Damien <damien.p.george@gmail.com> | 2013-10-09 23:10:10 +0100 | 
| commit | a397776d6bf1a9d0b07d7138b289cd661c5e1b99 (patch) | |
| tree | c56f96f5abb6b3a57117702875a868d2d020949d /py/vm.h | |
| parent | 91d387de7df9e19bb5b00e6ad4c94790eb3422e3 (diff) | |
Implement basic class/object functionality in runtime.
Diffstat (limited to 'py/vm.h')
| -rw-r--r-- | py/vm.h | 5 | 
1 files changed, 2 insertions, 3 deletions
@@ -25,8 +25,7 @@  #define PYBC_STORE_NAME         (0x34) // qstr  #define PYBC_STORE_GLOBAL       (0x35) // qstr  #define PYBC_STORE_ATTR         (0x36) // qstr -#define PYBC_STORE_LOCALS       (0x37) -#define PYBC_STORE_SUBSCR       (0x38) +#define PYBC_STORE_SUBSCR       (0x37)  #define PYBC_DELETE_FAST_N      (0x39) // uint  #define PYBC_DELETE_NAME        (0x3a) // qstr @@ -94,4 +93,4 @@  #define PYBC_IMPORT_FROM (0xe1)  #define PYBC_IMPORT_STAR (0xe2) -py_obj_t py_execute_byte_code(byte *code, uint len, py_obj_t *args, uint n_args); +py_obj_t py_execute_byte_code(const byte *code, uint len, const py_obj_t *args, uint n_args);  | 
