Add NSBundle, NSError, NSEnumerator

This commit is contained in:
gingerBill
2022-02-09 12:19:59 +00:00
parent 5f2514db63
commit 768c2684d0
5 changed files with 275 additions and 3 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ Array_objectAtIndex :: proc(self: ^Array($T), index: UInteger) -> ^Object {
return msgSend(^Object, self, "objectAtIndex:", index)
}
Array_object :: proc(self: ^Array($T), index: UInteger) -> ^T {
return (^T)(Array_objectAtIndex(self, index))
Array_object :: proc(self: ^Array($T), index: UInteger) -> T {
return (T)(Array_objectAtIndex(self, index))
}
Array_count :: proc(self: ^Array($T)) -> UInteger {