| 289 | } |
| 290 | |
| 291 | void Squirrel::AddClassBegin(std::string_view class_name) |
| 292 | { |
| 293 | ScriptAllocatorScope alloc_scope(this); |
| 294 | |
| 295 | sq_pushroottable(this->vm); |
| 296 | sq_pushstring(this->vm, class_name); |
| 297 | sq_newclass(this->vm, SQFalse); |
| 298 | } |
| 299 | |
| 300 | void Squirrel::AddClassBegin(std::string_view class_name, std::string_view parent_class) |
| 301 | { |
no test coverage detected