Commit graph

12 commits

Author SHA1 Message Date
Rylee Lyman
8113ef70e0 fix!: avoid "comptime var" error by returning array instead of slice
this changes the semantics of `comptimeEncode`; users will need to,
e.g. use

```zig
const encoding = comptimeEncode(T);
passToObjc(&encoding)
```

to pass the encoding by pointer rather than by value.
2024-04-12 10:01:04 +01:00
Rylee Lyman
77bb670be5 feat: add add-paths option; link needed frameworks 2024-04-12 09:44:18 +01:00
Krzysztof Wolicki
94b2a0056a Update to latest master after Zig PR #18160 2024-01-06 03:42:07 +01:00
Mitchell Hashimoto
e94d728f47
minor stylistic tweaks 2023-10-20 15:46:16 -07:00
Rylee Lyman
83156e7e6d
feat: implement Objective-C calling Zig
feat: add `msgSendSuper`
feat: add protocols,
feat: add `allocateClasspair` and `replaceMethod`
feat: add ivars,
feat: add `addMethod`
feat: add blocks
2023-10-20 15:37:37 -07:00
Mitchell Hashimoto
0b75865239
link CoreFoundation for tests
Fixes #2
2023-10-20 15:36:55 -07:00
Mitchell Hashimoto
f837bfaa37
depend on macos sdk not on xcode frameworks 2023-10-17 12:40:34 -07:00
Mitchell Hashimoto
01c16aaeeb
use zig package manager 2023-08-03 16:54:20 -07:00
Mitchell Hashimoto
51584a2f78
update zig 2023-06-30 09:49:12 -07:00
Mitchell Hashimoto
1e3537ab97
change mach vendor 2023-04-06 09:00:38 -07:00
Mitchell Hashimoto
1ebffc81ef
update to new zig build API 2023-02-14 18:03:43 -08:00
Mitchell Hashimoto
e8c63c795e
initial import 2023-01-02 14:48:21 -08:00