vala r804 - in trunk: . vapi



Author: juergbi
Date: Mon Jan  7 15:06:13 2008
New Revision: 804
URL: http://svn.gnome.org/viewvc/vala?rev=804&view=rev

Log:
2008-01-07  Juerg Billeter  <j bitron ch>

	* vapi/glib-2.0.vapi: add binding for memmove


Modified:
   trunk/ChangeLog
   trunk/vapi/glib-2.0.vapi

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Mon Jan  7 15:06:13 2008
@@ -1,3 +1,7 @@
+2008-01-07  JÃrg Billeter  <j bitron ch>
+
+	* vapi/glib-2.0.vapi: add binding for memmove
+
 2008-01-03  JÃrg Billeter  <j bitron ch>
 
 	* vapi/glib-2.0.vapi: fix GMarkupParser, patch by Travis Watkins

Modified: trunk/vapi/glib-2.0.vapi
==============================================================================
--- trunk/vapi/glib-2.0.vapi	(original)
+++ trunk/vapi/glib-2.0.vapi	Mon Jan  7 15:06:13 2008
@@ -1838,18 +1838,17 @@
 		public MappedFile (string filename, bool writable) throws FileError;
 		public void free ();
 		public long get_length ();
-		[NoArrayLength]
-		public weak char[] get_contents ();
+		public char* get_contents ();
 	}
 	
-	[CCode (cname = "char", cheader_filename = "string.h")]
-	public class Memory {
+	[CCode (cheader_filename = "string.h")]
+	public static class Memory {
 		[CCode (cname = "memcmp")]
-		[NoArrayLength ()]
-		public static int cmp (char[] s1, char[] s2, long n);
+		public static int cmp (pointer s1, pointer s2, long n);
 		[CCode (cname = "memcpy")]
-		[NoArrayLength ()]
-		public static weak char[] copy (char[] dest, char[] src, long n);
+		public static pointer copy (pointer dest, pointer src, long n);
+		[CCode (cname = "memmove")]
+		public static pointer move (pointer dest, pointer src, long n);
 	}
 
 	[CCode (cname = "stdin", cheader_filename = "stdio.h")]



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