Commit 469a5c0e authored by Mathias Hasselmann's avatar Mathias Hasselmann Committed by Mathias Hasselmann
Browse files

change type of string length paramenters from int to long to be compliant

2007-08-27  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

	* vapi/enchant.vala: change type of string length paramenters from int
	to long to be compliant with GLib.string.size ().

svn path=/trunk/; revision=507
parent 1751f137
2007-08-27 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/enchant.vala: change type of string length paramenters from int
to long to be compliant with GLib.string.size ().
2007-08-27 Jürg Billeter <j@bitron.ch> 2007-08-27 Jürg Billeter <j@bitron.ch>
* vapigen/gidlgen/gapi2xml.pl: ignore enum values to avoid some pattern * vapigen/gidlgen/gapi2xml.pl: ignore enum values to avoid some pattern
......
...@@ -20,13 +20,14 @@ namespace Enchant { ...@@ -20,13 +20,14 @@ namespace Enchant {
[ReferenceType ()] [ReferenceType ()]
public struct Dict { public struct Dict {
public int check (weak string! word, int len = -1); public int check (weak string! word, long len = -1);
public weak string[] suggest (weak string! word, int len = -1); // FIXME integrate with memory manager public weak string[] suggest (weak string! word, long len = -1); // FIXME integrate with memory manager
[NoArrayLength ()]
public void free_string_list (weak string[] string_list); // FIXME integrate with memory manager public void free_string_list (weak string[] string_list); // FIXME integrate with memory manager
public void add_to_session (weak string! word, int len = -1); public void add_to_session (weak string! word, long len = -1);
public int is_in_session (weak string! word, int len = -1); public int is_in_session (weak string! word, long len = -1);
public void store_replacement (weak string! mis, int mis_len, weak string! cor, int cor_len); public void store_replacement (weak string! mis, long mis_len, weak string! cor, long cor_len);
public void add_to_pwl (weak string! word, int len = -1); public void add_to_pwl (weak string! word, long len = -1);
public void describe (DictDescribeFn fn, pointer user_data = null); public void describe (DictDescribeFn fn, pointer user_data = null);
[NoArrayLength ()] [NoArrayLength ()]
public weak string! get_error (); public weak string! get_error ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment