Browse Source

fix incorrect use of Bool

Samuel Elgozi 7 months ago
parent
commit
0f12618642
1 changed files with 1 additions and 1 deletions
  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,