From c8292e6112df1b0a9c532c5046ecb7595b5d9a46 Mon Sep 17 00:00:00 2001 From: Derek Holloway Date: Mon, 12 May 2025 17:55:18 -0700 Subject: [PATCH] get back to a working state --- .gitignore | 3 ++- .vscode/launch.json | 16 ---------------- src/Lua/Interop.zig | 4 ++-- 3 files changed, 4 insertions(+), 19 deletions(-) delete mode 100755 .vscode/launch.json diff --git a/.gitignore b/.gitignore index f89eb5b..c7db8ba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ zig-out -.zig-cache \ No newline at end of file +.zig-cache +.vscode \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100755 index 10efcb2..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -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}/", - "args": [], - "cwd": "${workspaceFolder}" - } - ] -} \ No newline at end of file diff --git a/src/Lua/Interop.zig b/src/Lua/Interop.zig index d7289c7..98ff9ca 100755 --- a/src/Lua/Interop.zig +++ b/src/Lua/Interop.zig @@ -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); } @@ -40,4 +40,4 @@ pub fn DeInit() void { const MetaTable_t = struct { Function: *usize, Name: []const u8 -} \ No newline at end of file +}; \ No newline at end of file