fix: prefix openLibs with aux
This is technically an auxiliary library based on its naming convention
This commit is contained in:
parent
72b461992c
commit
e49441220a
|
@ -130,7 +130,7 @@ const Lua = struct {
|
|||
}
|
||||
|
||||
/// Open all standard libraries
|
||||
pub fn openLibs(lua: *Lua) void {
|
||||
pub fn auxOpenLibs(lua: *Lua) void {
|
||||
c.luaL_openlibs(lua.state);
|
||||
}
|
||||
|
||||
|
@ -230,7 +230,7 @@ test "standard library loading" {
|
|||
{
|
||||
var lua = try Lua.init(testing.allocator);
|
||||
defer lua.deinit();
|
||||
lua.openLibs();
|
||||
lua.auxOpenLibs();
|
||||
}
|
||||
|
||||
// open all standard libraries with individual functions
|
||||
|
|
Loading…
Reference in New Issue
Block a user