Minor fixes
This commit is contained in:
1 parent
8ff713f3bb
commit
12d56103d9
2 files changed
+6
-6
No files matched your search
Vendored
+3
-3
@@ -343,9 +343,9 @@ foreign lib {
|
|||||||
typename :: proc(L: ^State, tp: Type) -> cstring ---
|
typename :: proc(L: ^State, tp: Type) -> cstring ---
|
||||||
|
|
||||||
@(link_name="lua_tonumberx")
|
@(link_name="lua_tonumberx")
|
||||||
tonumber :: proc(L: ^State, idx: c.int, isnum: ^c.int = nil) -> Number ---
|
tonumber :: proc(L: ^State, idx: c.int, isnum: ^b32 = nil) -> Number ---
|
||||||
@(link_name="lua_tointegerx")
|
@(link_name="lua_tointegerx")
|
||||||
tointeger :: proc(L: ^State, idx: c.int, isnum: ^c.int = nil) -> Integer ---
|
tointeger :: proc(L: ^State, idx: c.int, isnum: ^b32 = nil) -> Integer ---
|
||||||
toboolean :: proc(L: ^State, idx: c.int) -> b32 ---
|
toboolean :: proc(L: ^State, idx: c.int) -> b32 ---
|
||||||
tolstring :: proc(L: ^State, idx: c.int, len: ^c.size_t) -> cstring ---
|
tolstring :: proc(L: ^State, idx: c.int, len: ^c.size_t) -> cstring ---
|
||||||
rawlen :: proc(L: ^State, idx: c.int) -> c.size_t ---
|
rawlen :: proc(L: ^State, idx: c.int) -> c.size_t ---
|
||||||
@@ -369,7 +369,7 @@ foreign lib {
|
|||||||
pushnil :: proc(L: ^State) ---
|
pushnil :: proc(L: ^State) ---
|
||||||
pushnumber :: proc(L: ^State, n: Number) ---
|
pushnumber :: proc(L: ^State, n: Number) ---
|
||||||
pushinteger :: proc(L: ^State, n: Integer) ---
|
pushinteger :: proc(L: ^State, n: Integer) ---
|
||||||
pushlstring :: proc(L: ^State, s: cstring, len: cstring) -> cstring ---
|
pushlstring :: proc(L: ^State, s: cstring, len: c.size_t) -> cstring ---
|
||||||
pushstring :: proc(L: ^State, s: cstring) -> cstring ---
|
pushstring :: proc(L: ^State, s: cstring) -> cstring ---
|
||||||
pushvfstring :: proc(L: ^State, fmt: cstring, argp: c.va_list) -> cstring ---
|
pushvfstring :: proc(L: ^State, fmt: cstring, argp: c.va_list) -> cstring ---
|
||||||
pushfstring :: proc(L: ^State, fmt: cstring, #c_vararg args: ..any) -> cstring ---
|
pushfstring :: proc(L: ^State, fmt: cstring, #c_vararg args: ..any) -> cstring ---
|
||||||
|
|||||||
Vendored
+3
-3
@@ -357,9 +357,9 @@ foreign lib {
|
|||||||
typename :: proc(L: ^State, tp: Type) -> cstring ---
|
typename :: proc(L: ^State, tp: Type) -> cstring ---
|
||||||
|
|
||||||
@(link_name="lua_tonumberx")
|
@(link_name="lua_tonumberx")
|
||||||
tonumber :: proc(L: ^State, idx: c.int, isnum: ^c.int = nil) -> Number ---
|
tonumber :: proc(L: ^State, idx: c.int, isnum: ^b32 = nil) -> Number ---
|
||||||
@(link_name="lua_tointegerx")
|
@(link_name="lua_tointegerx")
|
||||||
tointeger :: proc(L: ^State, idx: c.int, isnum: ^c.int = nil) -> Integer ---
|
tointeger :: proc(L: ^State, idx: c.int, isnum: ^b32 = nil) -> Integer ---
|
||||||
toboolean :: proc(L: ^State, idx: c.int) -> b32 ---
|
toboolean :: proc(L: ^State, idx: c.int) -> b32 ---
|
||||||
tolstring :: proc(L: ^State, idx: c.int, len: ^c.size_t) -> cstring ---
|
tolstring :: proc(L: ^State, idx: c.int, len: ^c.size_t) -> cstring ---
|
||||||
rawlen :: proc(L: ^State, idx: c.int) -> Unsigned ---
|
rawlen :: proc(L: ^State, idx: c.int) -> Unsigned ---
|
||||||
@@ -383,7 +383,7 @@ foreign lib {
|
|||||||
pushnil :: proc(L: ^State) ---
|
pushnil :: proc(L: ^State) ---
|
||||||
pushnumber :: proc(L: ^State, n: Number) ---
|
pushnumber :: proc(L: ^State, n: Number) ---
|
||||||
pushinteger :: proc(L: ^State, n: Integer) ---
|
pushinteger :: proc(L: ^State, n: Integer) ---
|
||||||
pushlstring :: proc(L: ^State, s: cstring, len: cstring) -> cstring ---
|
pushlstring :: proc(L: ^State, s: cstring, len: c.size_t) -> cstring ---
|
||||||
pushstring :: proc(L: ^State, s: cstring) -> cstring ---
|
pushstring :: proc(L: ^State, s: cstring) -> cstring ---
|
||||||
pushvfstring :: proc(L: ^State, fmt: cstring, argp: c.va_list) -> cstring ---
|
pushvfstring :: proc(L: ^State, fmt: cstring, argp: c.va_list) -> cstring ---
|
||||||
pushfstring :: proc(L: ^State, fmt: cstring, #c_vararg args: ..any) -> cstring ---
|
pushfstring :: proc(L: ^State, fmt: cstring, #c_vararg args: ..any) -> cstring ---
|
||||||
|
|||||||
Reference in new issue
Block a user