mach: add objc_message.zig dependency
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
a707894113
commit
1cc15e92a0
1 changed files with 9 additions and 0 deletions
9
src/platform/objc_message.zig
Normal file
9
src/platform/objc_message.zig
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// Extracted from `zig translate-c tmp.c` with `#include <objc/message.h>` in the file.
|
||||
pub const struct_objc_selector = opaque {};
|
||||
pub const SEL = ?*struct_objc_selector;
|
||||
pub const Class = ?*struct_objc_class;
|
||||
pub const struct_objc_class = opaque {};
|
||||
|
||||
pub extern fn sel_getUid(str: [*c]const u8) SEL;
|
||||
pub extern fn objc_getClass(name: [*c]const u8) Class;
|
||||
pub extern fn objc_msgSend() void;
|
||||
Loading…
Add table
Add a link
Reference in a new issue