Browse Source

Added missing bufSize param to String.ToCString extern.

Mark Sibly 9 years ago
parent
commit
b0681a54fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/monkey/types.monkey2

+ 1 - 1
modules/monkey/types.monkey2

@@ -214,7 +214,7 @@ Struct @String ="bbString"
 	@param bufSize Size of the memory buffer in bytes.
 	@param bufSize Size of the memory buffer in bytes.
 	
 	
 	#end
 	#end
-	Method ToCString( buf:Void Ptr )="toCString"
+	Method ToCString( buf:Void Ptr,bufSize:Int )="toCString"
 
 
 	#rem monkeydoc Converts the string to a WString
 	#rem monkeydoc Converts the string to a WString