1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2025-03-06 14:52:19 +00:00
UltimateTrainingModpack/source/lua_helper.hpp
2019-05-17 09:24:04 -07:00

11 lines
284 B
C++

#ifndef LUA_HELPER_H
#define LUA_HELPER_H
#include <switch.h>
#include "l2c_imports.hpp"
void get_lua_stack(lib::L2CAgent* l2c_agent, int index, lib::L2CValue* l2c_val) {
asm("mov x8, %x0" : : "r"(l2c_val) : "x8" );
l2c_agent->pop_lua_stack(index);
}
#endif // LUA_HELPER_H