fix incorrect use of Bool
This commit is contained in:
1 parent
3fb766f98d
commit
0f12618642
1 file changed
+1
-1
@@ -19,7 +19,7 @@ Data_initWithBytes :: proc "c" (self: ^Data, bytes: []byte) -> ^Data {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@(objc_type=Data, objc_name="initWithBytesNoCopy")
|
@(objc_type=Data, objc_name="initWithBytesNoCopy")
|
||||||
Data_initWithBytesNoCopy :: proc "c" (self: ^Data, bytes: []byte, freeWhenDone: ns.BOOL) -> ^Data {
|
Data_initWithBytesNoCopy :: proc "c" (self: ^Data, bytes: []byte, freeWhenDone: BOOL) -> ^Data {
|
||||||
return msgSend(
|
return msgSend(
|
||||||
^Data,
|
^Data,
|
||||||
self,
|
self,
|
||||||
|
|||||||
Reference in new issue
Block a user