Explorar o código

fix incorrect use of Bool

Samuel Elgozi hai 7 meses
pai
achega
0f12618642
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/sys/darwin/Foundation/NSData.odin

+ 1 - 1
core/sys/darwin/Foundation/NSData.odin

@@ -19,7 +19,7 @@ Data_initWithBytes :: proc "c" (self: ^Data, bytes: []byte) -> ^Data {
 }
 
 @(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(
 		^Data,
 		self,