On 08/05/2013 08:58 PM, Troy A. Griffitts wrote: > Not sure. I wonder if the tools which use the bindings need to be > updated to call the new method names like: popError() instead of > Error(). My first guess, though I would have thought you would have > received an error instead of the output you posted. > > I just added a swig construct to both SWBuf and SWKey to allow them to > be printed (i.e.cast to a string in the target language). Hope this > helps clean up some of the binding syntax.
These warnings (shouldn't they be errors?) don’t fill me with hope. matej@wycliff: package (master %)$ make pythonswig mkdir -p python /usr/bin/swig -python -c++ -shadow -o python/Sword.cxx -I. -I/usr/include/sword ./sword.i /usr/include/sword/versificationmgr.h:125: Warning 325: Nested class not currently supported (Book ignored) /usr/include/sword/versificationmgr.h:150: Warning 325: Nested class not currently supported (System ignored) /usr/include/sword/treekey.h:62: Warning 325: Nested class not currently supported (PositionChangeListener ignored) /usr/include/sword/versetreekey.h:41: Warning 402: Base class 'TreeKey::PositionChangeListener' is incomplete. /usr/include/sword/treekey.h:62: Warning 402: Only forward declaration 'TreeKey::PositionChangeListener' was found. /usr/include/sword/versificationmgr.h:45: Warning 451: Setting a const char * variable may leak memory. /usr/include/sword/versificationmgr.h:55: Warning 451: Setting a const char * variable may leak memory. /usr/include/sword/swmgr.h:161: Warning 451: Setting a const char * variable may leak memory. /usr/include/sword/swmgr.h:162: Warning 451: Setting a const char * variable may leak memory. /usr/include/sword/swmgr.h:163: Warning 451: Setting a const char * variable may leak memory. /usr/include/sword/swmgr.h:164: Warning 451: Setting a const char * variable may leak memory. /usr/include/sword/swmgr.h:165: Warning 451: Setting a const char * variable may leak memory. /usr/include/sword/swmgr.h:169: Warning 451: Setting a const char * variable may leak memory. /usr/include/sword/swlocale.h:74: Warning 451: Setting a const char * variable may leak memory. rendercallback.h:23: Warning 451: Setting a const char * variable may leak memory. matej@wycliff: package (master %)$ Couldn't these be the root cause of the problem? Blessings, Matěj -- http://www.ceplovi.cz/matej/, Jabber: [email protected] GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC <"}}}><
signature.asc
Description: OpenPGP digital signature
_______________________________________________ sword-devel mailing list: [email protected] http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
