Last 12 weeks · 3 commits
2 of 6 standards met
Repository: mitchellh/zig-objc. Description: Objective-C runtime bindings for Zig (Zig calling ObjC). Stars: 319, Forks: 39. Primary language: Zig. Languages: Zig (97.7%), Nix (2.1%), Shell (0.2%). License: MIT. Open PRs: 2, open issues: 2. Last activity: 1mo ago. Community health: 42%. Top contributors: mitchellh, Nirlah, robbielyman, emilazy, ritalin, amitayas, der-teufel-programming, Uzaaft, cherrythecool.
https://github.com/mitchellh/zig-objc/blob/f356ed02833f0f1b8e84d50bed9e807bf7cdc0ae/src/block.zig#L123-L135 this function must correspond to the signature of https://github.com/mitchellh/zig-objc/blob/f356ed02833f0f1b8e84d50bed9e807bf7cdc0ae/src/block.zig#L260 (as per Its signature is instead – the parameters are swapped. I could not find the definition of , but in its uses, the first argument does come from , the second comes from , so the call in seems to be correct.
I was looking for the best way to integrate the macOS bluetooth API with Zig and stumbled across your project here. It looks great, thanks for sharing it. To use the Bluetooth API you need to start a CFRunLoop and register for callbacks such as: I don't see any examples/tests in your source that indicate if this might or might not be possible, I am guessing it is not. But I thought I would ask here just in case it might be.
Use to to determine the correct shape of the struct, ensuring compatibility with both old and new SDKs and fix CI failures.
was messing around with objective-c stuff using this and found that if i called on an object it wouldn't compile cuz returns a value looking at the apple documentation it looks like the return value isn't important (it literally just says ), so i just did a simple to let it compile and free the object from memory