get back to a working state

This commit is contained in:
2025-05-12 17:55:18 -07:00
parent ae4af33461
commit c8292e6112
3 changed files with 4 additions and 19 deletions
+1
View File
@@ -1,2 +1,3 @@
zig-out zig-out
.zig-cache .zig-cache
.vscode
-16
View File
@@ -1,16 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug",
"program": "${workspaceFolder}/<executable file>",
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
+2 -2
View File
@@ -15,7 +15,7 @@ pub fn Init(allocator: std.mem.Allocator) !void {
} }
pub fn CreateMetaTable(MetaTableName: []const u8){ pub fn CreateMetaTable(MetaTableName: []const u8) void {
lua.newMetatable(LuaRuntime, MetaTableName); lua.newMetatable(LuaRuntime, MetaTableName);
} }
@@ -40,4 +40,4 @@ pub fn DeInit() void {
const MetaTable_t = struct { const MetaTable_t = struct {
Function: *usize, Function: *usize,
Name: []const u8 Name: []const u8
} };