add unix.isdir and unix.isfile

This commit is contained in:
ValKmjolnir
2021-11-15 22:47:52 +08:00
parent b67cd85cb4
commit e1d5ab2da5
6 changed files with 35 additions and 7 deletions
+1 -1
View File
@@ -307,7 +307,7 @@ inline nasal_hash* nasal_ref::hash(){return value.gcobj->ptr.hash;}
inline nasal_func* nasal_ref::func(){return value.gcobj->ptr.func;}
inline nasal_obj* nasal_ref::obj (){return value.gcobj->ptr.obj; }
constexpr uint32_t STACK_MAX_DEPTH=2047;
constexpr uint32_t STACK_MAX_DEPTH=4095;
struct nasal_gc
{
nasal_ref zero;