Use x86 fastcall for OutlineCommand callback

This commit is contained in:
Dusk-92
2026-08-28 17:09:38 +02:00
parent 4aae16646c
commit dbdb513e94
+1 -1
View File
@@ -120,7 +120,7 @@ pub fn isEnabled() bool {
/// OutlineCommand() → returns (enabled: bool)
/// OutlineCommand("on") → enable outlines
/// OutlineCommand("off") → disable outlines
pub fn outlineCommand(L: lua.State) callconv(.c) u32 {
pub fn outlineCommand(L: lua.State) callconv(.{ .x86_fastcall = .{} }) u32 {
const nargs = luaGetTopNative(L);
if (nargs >= 1 and luaIsStringNative(L, 1)) {