Add NSNumber and NSURL
This commit is contained in:
1 parent
b95ade40c0
commit
5f2514db63
3 files changed
+116
-7
No files matched your search
@@ -3,7 +3,9 @@ package objc_Foundation
|
||||
import "core:intrinsics"
|
||||
|
||||
@(objc_class="NSArray")
|
||||
Array :: struct($T: typeid) where intrinsics.type_is_pointer(T), intrinsics.type_is_subtype_of(T, ^Object) {using _: Copying(Array(T))}
|
||||
Array :: struct($T: typeid) where intrinsics.type_is_pointer(T), intrinsics.type_is_subtype_of(T, ^Object) {
|
||||
using _: Copying(Array(T)),
|
||||
}
|
||||
|
||||
Array_initWithObjects :: proc(self: ^$A/Array($T), objects: [^]^Object, count: UInteger) -> ^A {
|
||||
return msgSend(^A, "initWithObjects:count:", objects, count)
|
||||
|
||||
Reference in new issue
Block a user