diff options
author | chai <chaifix@163.com> | 2019-03-26 09:09:02 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-03-26 09:09:02 +0800 |
commit | d9041d6e12ded456c17622f7f2e7bbacb9e99b1a (patch) | |
tree | 6fd4febeb79b9b5efb5341ea352e05cd7752f5e8 /source/3rd-party/Luax/luax_state.cpp | |
parent | 70f8aa8d1a3c15bd1eee3cdd88b9b9ce8970fae5 (diff) |
*misc
Diffstat (limited to 'source/3rd-party/Luax/luax_state.cpp')
-rw-r--r-- | source/3rd-party/Luax/luax_state.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/3rd-party/Luax/luax_state.cpp b/source/3rd-party/Luax/luax_state.cpp index 8c30c00..b7b89a3 100644 --- a/source/3rd-party/Luax/luax_state.cpp +++ b/source/3rd-party/Luax/luax_state.cpp @@ -151,6 +151,11 @@ namespace Luax lua_pushnumber(mState, (double)value); } + void LuaxState::Push(s64 value) + { + lua_pushinteger(mState, value); + } + void LuaxState::Push(uintptr value) { lua_pushlightuserdata(mState, (void*)value); |