| 360 | } |
| 361 | |
| 362 | int Hotspot::ASGetIntVar(const std::string& name) { |
| 363 | return *((int*)as_context->GetVarPtr(name.c_str())); |
| 364 | } |
| 365 | |
| 366 | int Hotspot::ASGetArrayIntVar(const std::string& name, int index) { |
| 367 | return *((int*)as_context->GetArrayVarPtr(name, index)); |