Commit graph

14 commits

Author SHA1 Message Date
Mitchell Hashimoto
87aae5f5ad
add dedicated encoder, use writer, support comptime encoding 2023-10-21 10:21:13 -07:00
Mitchell Hashimoto
cec54ac452
Revert "fix: convert addMethod bool to zig error"
This reverts commit 3607c36967.
2023-10-21 08:50:43 -07:00
Rylee Lyman
3607c36967 fix: convert addMethod bool to zig error 2023-10-21 08:58:19 -04:00
Rylee Lyman
bca05e03d3 fix!: addMethod now passes errors it receives; added test 2023-10-21 08:51:58 -04:00
Mitchell Hashimoto
25194cfc23
msgSend/msgSendSuper can accept anytype for sel to accept strings 2023-10-20 20:48:11 -07:00
Mitchell Hashimoto
7110b7c5f2
fix return type mismatch when cross-compiling with macos sdk 2023-10-20 15:51:23 -07:00
Mitchell Hashimoto
e94d728f47
minor stylistic tweaks 2023-10-20 15:46:16 -07:00
Rylee Lyman
8c434525fe
fix: addMethod should correctly process strings 2023-10-20 15:37:37 -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
e8686c3457
Revert "remove failing tests for macOS Sonoma"
This reverts commit 0d3a6d4b58.
2023-10-20 15:36:04 -07:00
Mitchell Hashimoto
0d3a6d4b58
remove failing tests for macOS Sonoma
Annoying, these functions do work in the right situation but some are
failing due to macOS SDK changes.
2023-10-20 15:35:29 -07:00
Mitchell Hashimoto
51584a2f78
update zig 2023-06-30 09:49:12 -07:00
Mitchell Hashimoto
e8c63c795e
initial import 2023-01-02 14:48:21 -08:00