mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 04:38:16 +00:00
fix incorrect use of Bool
This commit is contained in:
@@ -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