| 3734 | } |
| 3735 | |
| 3736 | static int internal_getAddress(lua_State *L) |
| 3737 | { |
| 3738 | const char *name = luaL_checkstring(L, 1); |
| 3739 | uintptr_t addr = Core::getInstance().vinfo->getAddress(name); |
| 3740 | if (addr) |
| 3741 | lua_pushinteger(L, addr); |
| 3742 | else |
| 3743 | lua_pushnil(L); |
| 3744 | return 1; |
| 3745 | } |
| 3746 | |
| 3747 | static int internal_setAddress(lua_State *L) |
| 3748 | { |
no test coverage detected