diff --git a/single/sol/sol.hpp b/single/sol/sol.hpp index 817d4af2..7643601f 100644 --- a/single/sol/sol.hpp +++ b/single/sol/sol.hpp @@ -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 diff --git a/sol/compatibility/5.2.0.h b/sol/compatibility/5.2.0.h index 1f19f2f1..7068f2a3 100644 --- a/sol/compatibility/5.2.0.h +++ b/sol/compatibility/5.2.0.h @@ -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