render-zig

A 3D rendering engine written in Zig
git clone git://git.christianermann.dev/render-zig
Log | Files | Refs

objc_message.zig (253B)


      1 // Borrowed from https://github.com/hexops/mach-gpu
      2 
      3 pub const SEL = opaque {};
      4 pub const Class = opaque {};
      5 
      6 pub extern fn sel_getUid(str: [*c]const u8) ?*SEL;
      7 pub extern fn objc_getClass(name: [*c]const u8) ?*Class;
      8 pub extern fn objc_msgSend() void;