mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-26 21:08:45 +08:00
update docs & fix bug in nasal_builtin.h
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ struct nasal_obj
|
||||
void clear()
|
||||
{
|
||||
if(destructor && ptr)
|
||||
{destructor(ptr);}
|
||||
destructor(ptr);
|
||||
ptr=nullptr;
|
||||
destructor=nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user