[vala] Fix arguments of FileStream read write



commit 0d05d3ab042a7eeb7b7da7e7b628e94480269518
Author: Sandino Flores <sandino ti com>
Date:   Wed Feb 17 07:53:23 2010 -0600

    Fix arguments of FileStream read write
    
    Fixes 610218

 vapi/glib-2.0.vapi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 9622448..af33c4d 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2541,9 +2541,9 @@ namespace GLib {
 		[CCode (cname = "clearerr")]
 		public void clearerr ();
 		[CCode (cname = "fread", instance_pos = -1)]
-		public size_t read ([CCode (array_length_pos = 2.1)] char[] buf, int size = 1);
+		public size_t read ([CCode (array_length_pos = 2.1)] uint8[] buf, size_t size = 1);
 		[CCode (cname = "fwrite", instance_pos = -1)]
-		public size_t write ([CCode (array_length_pos = 2.1)] char[] buf, int size = 1);
+		public size_t write ([CCode (array_length_pos = 2.1)] uint8[] buf, size_t size = 1);
 
 		public string? read_line () {
 			int c;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]