change enum obj_type to nasal_obj::obj_type

This commit is contained in:
ValKmjolnir
2022-03-15 22:51:14 +08:00
parent 9740ae90a5
commit 7ef9dd9371
4 changed files with 31 additions and 29 deletions
+7
View File
@@ -149,6 +149,13 @@ struct nasal_upval
struct nasal_obj
{
enum obj_type
{
file=1,
dir,
dylib,
externfunc
};
/* RAII constructor */
/* new object is initialized when creating */
uint32_t type;