move non essential opcodes to primitives and add userdata
This commit is contained in:
parent
e654143a90
commit
45e2c0d406
17 changed files with 234 additions and 37 deletions
|
|
@ -14,6 +14,7 @@ enum {
|
|||
OBJ_FWD = 2,
|
||||
OBJ_QUOT,
|
||||
OBJ_STR,
|
||||
OBJ_USERDATA,
|
||||
};
|
||||
|
||||
enum {
|
||||
|
|
@ -22,6 +23,7 @@ enum {
|
|||
TYPE_FWD = OBJ_FWD,
|
||||
TYPE_QUOT = OBJ_QUOT,
|
||||
TYPE_STR = OBJ_STR,
|
||||
TYPE_USERDATA = OBJ_USERDATA,
|
||||
};
|
||||
|
||||
typedef uintptr_t O;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue