You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"lua_wrapper", while descriptive, feels significantly worse than
"ziglua". since the Zig project feels strongly that "zig" in the name
is redundant, "zlua" feels like a nice middle ground.
BREAKING CHANGE: the package and exported module are now named "zlua";
the latter change will require alteration of build.zig files.
/// The superset of all errors returned from lua_wrapper
305
+
/// The superset of all errors returned from zlua
306
306
pubconstError=error{
307
307
/// A generic failure (used when a function can only fail in one way)
308
308
LuaError,
@@ -750,7 +750,7 @@ pub const Lua = opaque {
750
750
/// * Finally you call `Lua.call()`
751
751
/// * `args.args` is the number of arguments that you pushed onto the stack. When the function returns, all arguments and
752
752
/// the function value are popped and the call results are pushed onto the stack.
753
-
/// * The number of results is adjusted to `args.results`, unless `args.results` is `lua_wrapper.mult_return`. In this case, all results from the function are pushed
753
+
/// * The number of results is adjusted to `args.results`, unless `args.results` is `zlua.mult_return`. In this case, all results from the function are pushed
754
754
/// * Lua takes care that the returned values fit into the stack space, but it does not ensure any extra space in the stack. The function results
755
755
/// are pushed onto the stack in direct order (the first result is pushed first), so that after the call the last result is
756
756
/// on the top of the stack.
@@ -4903,7 +4903,7 @@ pub const Buffer = struct {
4903
4903
}
4904
4904
};
4905
4905
4906
-
// Helper functions to make the lua_wrapper API easier to use
4906
+
// Helper functions to make the zlua API easier to use
0 commit comments