Various fixes, patch by Jan Rosczak, fixes bug 549131
authorJürg Billeter <j@bitron.ch>
Tue, 16 Sep 2008 13:53:54 +0000 (13:53 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Tue, 16 Sep 2008 13:53:54 +0000 (13:53 +0000)
2008-09-16  Jürg Billeter  <j@bitron.ch>

* vapi/enchant.vapi:

Various fixes, patch by Jan Rosczak, fixes bug 549131

svn path=/trunk/; revision=1774

ChangeLog
THANKS
vapi/enchant.vapi

index 5549ee7..8b25b9c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-09-16  Jürg Billeter  <j@bitron.ch>
 
+       * vapi/enchant.vapi:
+
+       Various fixes, patch by Jan Rosczak, fixes bug 549131
+
+2008-09-16  Jürg Billeter  <j@bitron.ch>
+
        * vapi/glib-2.0.vapi:
 
        Fix strtod, strtoul, and g_ascii_strtoll bindings,
diff --git a/THANKS b/THANKS
index f2116b9..bceb0ac 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -28,6 +28,7 @@ Gabriel Falcão
 Hans Vercammen
 Jaap A. Haitsma
 Jamie McCracken
+Jan Rosczak
 Jared Moore
 Johannes Schmid
 Juan Carlos Girardi
index dcff332..e27eda0 100644 (file)
@@ -3,30 +3,32 @@ namespace Enchant {
        public delegate void BrokerDescribeFn (string provider_name, string provider_desc, string provider_dll_file);
        public delegate void DictDescribeFn (string lang_tag, string provider_name, string provider_desc, string provider_file);
 
+       [Compact]
        [CCode (free_function = "enchant_broker_free")]
        public class Broker {
                [CCode (cname = "enchant_broker_init")]
                public Broker ();
 
-               public weak Dict request_dict (weak string tag);        // FIXME integrate with memory manager
-               public weak Dict request_pwl_dict (weak string pwl);    // FIXME integrate with memory manager
-               public void free_dict (Dict dict);                      // FIXME integrate with memory manager
-               public int dict_exists (weak string tag);
-               public void set_ordering (weak string tag, weak string ordering);
+               public weak Dict request_dict (string tag);     
+               public weak Dict request_pwl_dict (string pwl); 
+               public void free_dict (Dict dict);                      
+               public int dict_exists (string tag);
+               public void set_ordering (string tag, string ordering);
                public void describe (BrokerDescribeFn fn);
                public void list_dicts (DictDescribeFn fn);
                public weak string get_error ();
        }
 
+       [Compact]
        public class Dict {
-               public int check (weak string word, long len = -1);
-               public weak string[] suggest (weak string word, long len = -1); // FIXME integrate with memory manager
+               public int check (string word, long len = -1);
+               public weak string[] suggest (string word, long len = -1);      
                [NoArrayLength ()]
-               public void free_string_list (weak string[] string_list);       // FIXME integrate with memory manager
-               public void add_to_session (weak string word, long len = -1);
-               public int is_in_session (weak string word, long len = -1);
-               public void store_replacement (weak string mis, long mis_len, weak string cor, long cor_len);
-               public void add_to_pwl (weak string word, long len = -1);
+               public void free_string_list (string[] string_list);    
+               public void add_to_session (string word, long len = -1);
+               public int is_in_session (string word, long len = -1);
+               public void store_replacement ( string mis, long mis_len, string cor, long cor_len);
+               public void add_to_pwl ( string word, long len = -1);
                public void describe (DictDescribeFn fn);
                [NoArrayLength ()]
                public weak string get_error ();