Skip to content

Commit 661e361

Browse files
committed
inline pls
1 parent 8f7433f commit 661e361

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

single/sol/sol.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

2222
// This file was generated with a script.
23-
// Generated 2016-10-15 22:36:09.229006 UTC
24-
// This header was generated with sol v2.14.10 (revision ebc8d0f)
23+
// Generated 2016-10-15 22:53:00.289259 UTC
24+
// This header was generated with sol v2.14.10 (revision 8f7433f)
2525
// https://github.com/ThePhD/sol2
2626

2727
#ifndef SOL_SINGLE_INCLUDE_HPP
@@ -2145,7 +2145,7 @@ int luaL_fileresult(lua_State *L, int stat, const char *fname);
21452145

21462146
#if SOL_LUA_VERSION < 503
21472147

2148-
int lua_isinteger(lua_State* L, int idx) {
2148+
inline int lua_isinteger(lua_State* L, int idx) {
21492149
if (lua_type(L, idx) != LUA_TNUMBER)
21502150
return 0;
21512151
// This is a very slipshod way to do the testing

sol/compatibility/5.2.0.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
#if SOL_LUA_VERSION < 503
2727

28-
int lua_isinteger(lua_State* L, int idx) {
28+
inline int lua_isinteger(lua_State* L, int idx) {
2929
if (lua_type(L, idx) != LUA_TNUMBER)
3030
return 0;
3131
// This is a very slipshod way to do the testing

0 commit comments

Comments
 (0)