vala r1102 - in trunk: . vapi



Author: juergbi
Date: Tue Mar  4 20:54:37 2008
New Revision: 1102
URL: http://svn.gnome.org/viewvc/vala?rev=1102&view=rev

Log:
2008-03-04  Juerg Billeter  <j bitron ch>

	* vapi/sqlite3.vapi: fix sqlite3_value binding,
	  patch by Andreas Brauchli


Modified:
   trunk/ChangeLog
   trunk/vapi/sqlite3.vapi

Modified: trunk/vapi/sqlite3.vapi
==============================================================================
--- trunk/vapi/sqlite3.vapi	(original)
+++ trunk/vapi/sqlite3.vapi	Tue Mar  4 20:54:37 2008
@@ -46,14 +46,22 @@
 	/* Dynamically Typed Value Object */
 	[CCode (cname = "sqlite3_value")]
 	public class Value {
-		public void* blob ();
-		public int bytes ();
-		public double double ();
-		public int int ();
-		public int64 int64 ();
-		public weak string text ();
-		public int type ();
-		public int numeric_type ();
+		[CCode (cname = "sqlite3_value_blob")]
+		public void* to_blob ();
+		[CCode (cname = "sqlite3_value_bytes")]
+		public int to_bytes ();
+		[CCode (cname = "sqlite3_value_double")]
+		public double to_double ();
+		[CCode (cname = "sqlite3_value_int")]
+		public int to_int ();
+		[CCode (cname = "sqlite3_value_int64")]
+		public int64 to_int64 ();
+		[CCode (cname = "sqlite3_value_text")]
+		public weak string to_text ();
+		[CCode (cname = "sqlite3_value_type")]
+		public int to_type ();
+		[CCode (cname = "sqlite3_value_numeric_type")]
+		public int to_numeric_type ();
 	}
 
 	[NoArrayLength]



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