search for: readbool

Displaying 1 result from an estimated 1 matches for "readbool".

2005 Jul 27
2
SWIGging ConfigBase
...a typed variable that holds the default value which will be modified if there is a config value for that key or else left unchanged: bool Read(const wxString& key , bool* b ) const; I''m having two problems. 1) How correctly to rename a method. I''m trying %rename("ReadBool") wxConfigBase::Read(wxString const &key, bool *d, bool defaultVal); but it doesn''t seem to give me a read_bool() method where I expect it. 2) How to deal with returning one of the parameters passed by ref, rather than the c++ return value (which is always "true" if...