mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
inline pls
This commit is contained in:
parent
8f7433fbeb
commit
661e361b26
|
@ -20,8 +20,8 @@
|
|||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// This file was generated with a script.
|
||||
// Generated 2016-10-15 22:36:09.229006 UTC
|
||||
// This header was generated with sol v2.14.10 (revision ebc8d0f)
|
||||
// Generated 2016-10-15 22:53:00.289259 UTC
|
||||
// This header was generated with sol v2.14.10 (revision 8f7433f)
|
||||
// https://github.com/ThePhD/sol2
|
||||
|
||||
#ifndef SOL_SINGLE_INCLUDE_HPP
|
||||
|
@ -2145,7 +2145,7 @@ int luaL_fileresult(lua_State *L, int stat, const char *fname);
|
|||
|
||||
#if SOL_LUA_VERSION < 503
|
||||
|
||||
int lua_isinteger(lua_State* L, int idx) {
|
||||
inline int lua_isinteger(lua_State* L, int idx) {
|
||||
if (lua_type(L, idx) != LUA_TNUMBER)
|
||||
return 0;
|
||||
// This is a very slipshod way to do the testing
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#if SOL_LUA_VERSION < 503
|
||||
|
||||
int lua_isinteger(lua_State* L, int idx) {
|
||||
inline int lua_isinteger(lua_State* L, int idx) {
|
||||
if (lua_type(L, idx) != LUA_TNUMBER)
|
||||
return 0;
|
||||
// This is a very slipshod way to do the testing
|
||||
|
|
Loading…
Reference in New Issue
Block a user