Skip to content

Commit

Permalink
feat: update docs for 5.2 api
Browse files Browse the repository at this point in the history
Also renames a few functions, adds a few missing functions
  • Loading branch information
natecraddock committed Feb 23, 2023
1 parent b6201ee commit a7b78d9
Show file tree
Hide file tree
Showing 3 changed files with 226 additions and 89 deletions.
1 change: 1 addition & 0 deletions src/ziglua-5.1/lib.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1481,6 +1481,7 @@ pub const Buffer = struct {
b: LuaBuffer = undefined,

/// Initialize a Lua string buffer
/// See https://www.lua.org/manual/5.1/manual.html#luaL_buffinit
pub fn init(buf: *Buffer, lua: Lua) void {
c.luaL_buffinit(lua.state, &buf.b);
}
Expand Down
Loading

0 comments on commit a7b78d9

Please sign in to comment.