diff options
Diffstat (limited to 'lib/wrappers/lua')
-rwxr-xr-x | lib/wrappers/lua/lauxlib.nim | 4 | ||||
-rwxr-xr-x | lib/wrappers/lua/lua.nim | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/wrappers/lua/lauxlib.nim b/lib/wrappers/lua/lauxlib.nim index b9a0a8d04..477dd5874 100755 --- a/lib/wrappers/lua/lauxlib.nim +++ b/lib/wrappers/lua/lauxlib.nim @@ -48,9 +48,9 @@ proc luaL_typerror*(L: Plua_State, narg: int, tname: cstring): int{.cdecl, dynlib: LUA_LIB_NAME, importc.} proc luaL_argerror*(L: Plua_State, numarg: int, extramsg: cstring): int{.cdecl, dynlib: LUA_LIB_NAME, importc.} -proc luaL_checklstring*(L: Plua_State, numArg: int, l_: Psize_t): cstring{. +proc luaL_checklstring*(L: Plua_State, numArg: int, len: Psize_t): cstring{. cdecl, dynlib: LUA_LIB_NAME, importc.} -proc luaL_optlstring*(L: Plua_State, numArg: int, def: cstring, l_: Psize_t): cstring{. +proc luaL_optlstring*(L: Plua_State, numArg: int, def: cstring, len: Psize_t): cstring{. cdecl, dynlib: LUA_LIB_NAME, importc.} proc luaL_checknumber*(L: Plua_State, numArg: int): lua_Number{.cdecl, dynlib: LUA_LIB_NAME, importc.} diff --git a/lib/wrappers/lua/lua.nim b/lib/wrappers/lua/lua.nim index 58c827b79..54f8d46bb 100755 --- a/lib/wrappers/lua/lua.nim +++ b/lib/wrappers/lua/lua.nim @@ -67,7 +67,7 @@ const proc lua_upvalueindex*(I: int): int const # thread status; 0 is OK - LUA_YIELD_* = 1 + constLUA_YIELD* = 1 LUA_ERRRUN* = 2 LUA_ERRSYNTAX* = 3 LUA_ERRMEM* = 4 @@ -158,7 +158,7 @@ proc lua_pushnumber*(L: Plua_State, n: lua_Number){.cdecl, dynlib: LUA_NAME, importc.} proc lua_pushinteger*(L: Plua_State, n: lua_Integer){.cdecl, dynlib: LUA_NAME, importc.} -proc lua_pushlstring*(L: Plua_State, s: cstring, l_: size_t){.cdecl, +proc lua_pushlstring*(L: Plua_State, s: cstring, len: size_t){.cdecl, dynlib: LUA_NAME, importc.} proc lua_pushstring*(L: Plua_State, s: cstring){.cdecl, dynlib: LUA_NAME, importc.} |