Add vendor:lua/5.1

This commit is contained in:
gingerBill
2023-04-05 17:25:30 +01:00
parent 12d56103d9
commit c5af69ffa6
12 changed files with 2052 additions and 2 deletions
+2 -2
View File
@@ -407,14 +407,14 @@ foreign lib {
*/
@(link_name="lua_callk")
call :: proc(L: ^State, nargs, nresults: c.int,
call :: proc(L: ^State, nargs, nresults: c.int, ctx: c.int = 0,
k: CFunction = nil) ---
getctx :: proc(L: ^State, ctx: ^c.int) -> c.int ---
@(link_name="lua_pcallk")
pcall :: proc(L: ^State, nargs, nresults: c.int, errfunc: c.int,
k: CFunction = nil) -> c.int ---
ctx: c.int = 0, k: CFunction = nil) -> c.int ---
load :: proc(L: ^State, reader: Reader, dt: rawptr,
chunkname, mode: cstring) -> Status ---