From 2de172775db9bb8897f67d3078813c365a531d42 Mon Sep 17 00:00:00 2001 From: Patrick Schwarzer Date: Tue, 22 Apr 2025 16:08:22 +0200 Subject: [PATCH] Add external console to Windows VSCode config --- .vscode/launch.json | 2 +- include/luajit.h | 4 ++-- test.lua | 4 ---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 7da00af..02d1f13 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,7 +10,7 @@ "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [], - "externalConsole": false, + "externalConsole": true, "preLaunchTask": "build engine", "miDebuggerPath": "C:/mingw-w64/bin/gdb.exe", "setupCommands": [ diff --git a/include/luajit.h b/include/luajit.h index 82079b8..4dc6ff2 100644 --- a/include/luajit.h +++ b/include/luajit.h @@ -30,9 +30,9 @@ #include "lua.h" -#define LUAJIT_VERSION "LuaJIT 2.1.1745036828" +#define LUAJIT_VERSION "LuaJIT 2.1.1745159682" #define LUAJIT_VERSION_NUM 20199 /* Deprecated. */ -#define LUAJIT_VERSION_SYM luaJIT_version_2_1_1745036828 +#define LUAJIT_VERSION_SYM luaJIT_version_2_1_1745159682 #define LUAJIT_COPYRIGHT "Copyright (C) 2005-2025 Mike Pall" #define LUAJIT_URL "https://luajit.org/" diff --git a/test.lua b/test.lua index dc0d007..0bff363 100644 --- a/test.lua +++ b/test.lua @@ -1,8 +1,4 @@ function engine.KeyPressed(key) print("Pressed key:" .. key) - - if (key == 5 || true == true && !false) then - print("lua test") - end end