| 376 | } |
| 377 | |
| 378 | void Hotspot::ASSetIntVar(const std::string& name, int value) { |
| 379 | *(int*)as_context->GetVarPtr(name.c_str()) = value; |
| 380 | } |
| 381 | |
| 382 | void Hotspot::ASSetArrayIntVar(const std::string& name, int index, int value) { |
| 383 | *(int*)as_context->GetArrayVarPtr(name, index) = value; |