| 485 | } |
| 486 | |
| 487 | bool Squirrel::CreateClassInstance(const std::string &class_name, void *real_instance, HSQOBJECT *instance) |
| 488 | { |
| 489 | ScriptAllocatorScope alloc_scope(this); |
| 490 | return Squirrel::CreateClassInstanceVM(this->vm, class_name, real_instance, instance, nullptr); |
| 491 | } |
| 492 | |
| 493 | /* static */ SQUserPointer Squirrel::GetRealInstance(HSQUIRRELVM vm, int index, std::string_view tag) |
| 494 | { |