use [Compact] attribute
authorJuerg Billeter <j@bitron.ch>
Sun, 25 May 2008 13:40:55 +0000 (13:40 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Sun, 25 May 2008 13:40:55 +0000 (13:40 +0000)
2008-05-25  Juerg Billeter  <j@bitron.ch>

* vapi/sqlite3.vapi: use [Compact] attribute

svn path=/trunk/; revision=1427

ChangeLog
vapi/sqlite3.vapi

index ec50e72..a4f378c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-05-25  Jürg Billeter  <j@bitron.ch>
 
+       * vapi/sqlite3.vapi: use [Compact] attribute
+
+2008-05-25  Jürg Billeter  <j@bitron.ch>
+
        * vala/valasemanticanalyzer.vala:
 
        Report error when declaring virtual methods in compact classes,
index 355a2f4..ea2bbd2 100644 (file)
@@ -23,6 +23,7 @@
 [CCode (lower_case_cprefix = "sqlite3_", cheader_filename = "sqlite3.h")]
 namespace Sqlite {
        /* Database Connection Handle */
+       [Compact]
        [CCode (free_function = "sqlite3_close", cname = "sqlite3", cprefix = "sqlite3_")]
        public class Database {
                public int busy_timeout (int ms);
@@ -45,6 +46,7 @@ namespace Sqlite {
        }
 
        /* Dynamically Typed Value Object */
+       [Compact]
        [CCode (cname = "sqlite3_value")]
        public class Value {
                [CCode (cname = "sqlite3_value_blob")]
@@ -145,6 +147,7 @@ namespace Sqlite {
        public const int TEXT;
 
        /* SQL Statement Object */
+       [Compact]
        [CCode (free_function = "sqlite3_finalize", cname = "sqlite3_stmt", cprefix = "sqlite3_")]
        public class Statement {
                public int bind_parameter_count ();