added comment about using @extern()
This commit is contained in:
parent
89d89985dd
commit
c26a0ad529
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue