[Gtk-sharp-list] Bindings generator manges functions with get in the name

Dan Siemon dan@coverfire.com
Sun, 30 Jan 2005 10:49:18 -0500


I am creating a Mono binding for LQL[1].

It seems that the bindings generator handles functions with 'get' in the
name specially. For example,

GList* lql_con_get_interfaces(LQLCon *self);

shows up in the -api.xml file as 

<method name="GetInterfaces" cname="lql_con_get_interfaces">

but the generated function is

get_Interfaces()

This isn't a getter in the normal sense. "interfaces" is not a property
of the object.

I have verified that replacing _get_ in the function name by _fet_ (just
a stupid test) results in the desired FetInterfaces() method.

Is it possible to override this behaviour or will I have to rename these
functions in the C code?

[1] - http://www.coverfire.com/lql/
-- 
OpenPGP key: http://www.coverfire.com/files/pubkey.txt
Key fingerprint: FB0A 2D8A A1E9 11B6 6CA3  0C53 742A 9EA8 891C BD98