inline pls

This commit is contained in:
ThePhD 2016-10-15 18:53:42 -04:00
parent 8f7433fbeb
commit 661e361b26
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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