From c26a0ad5296e247b36d3e19fe91c8c389ada9848 Mon Sep 17 00:00:00 2001 From: johan0A Date: Fri, 20 Sep 2024 16:03:37 +0200 Subject: [PATCH] added comment about using @extern() --- src/root.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/root.zig b/src/root.zig index 6e9f9e0..f3615a3 100644 --- a/src/root.zig +++ b/src/root.zig @@ -228,6 +228,7 @@ pub fn ClayArray(comptime T: type) type { } const extern_elements = struct { + // TODO: should use @extern instead but zls does not yet support it well // Foreign function declarations extern "c" fn Clay_MinMemorySize() u32; extern "c" fn Clay_CreateArenaWithCapacityAndMemory(capacity: u32, offset: [*]u8) Arena;