This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Original: http://www.opensource.apple.com/source/objc4/objc4-646/runtime/objc-loadmethod.mm | |
static BOOL call_category_loads(void){ | |
// ... | |
int used = loadable_categories_used; | |
// ... | |
loadable_categories_used = 0; | |
// ... | |
new_categories_added = (loadable_categories_used > 0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Using Zig 0.14.0 | |
pub const Node = struct { | |
allocator: Allocator, | |
children: ArrayList(Node), | |
parent: ?*Node, | |
max_level: usize, | |
... | |
pub fn init(allocator: Allocator, value: u8, level: usize) Node { |
OlderNewer