From: Brett Williams Date: 2002-03-07T13:18:20+09:00 Subject: Re: bug in ruby SWIG-1.3.11 "Lorien Dunn" wrote in message news:20020307035825.16E0B612@helium.ruby-lang.org... > Hello, > I've found a problem in the ruby module of SWIG-1.3.11. I've been making a > ruby plugin for the Crystal Space game engine (crystal.sourceforge.net), > which features classnames starting with lowercase letters (such as > iObjectRegistry). SWIG renames these to make the first letter uppercase, but > the wrapper functions throw exceptions about wrong types. They expect to > recieve the lowercase form of the type, but they recieve the uppercase, and > apparently these are not equivalent :( > Any suggestions? Do other versions of SWIG 1.3 suffer this also? > I'm currently trying to submit the bug on the SWIG sourceforge site, but am > having SSL problems, so if it doesn't turn up in the BugTracker soon could > someone else please submit it. > > Thanks, > Lorien Dunn I use the SWIG ruby module heavily... but since all my classes are uppercase I haven't experienced this bug. Once thing for certain, though--make every effort to stick with the latest version of SWIG if you are using Ruby and C++. Lyle Johnson has recently made some major improvements to the Ruby module, especially in the area of multiple SWIG module support. Many of these changes weren't even included in 1.3.11. SWIG in general is rapidly advancing (especially in C++ support), and the occasional instabilities due to rapid development and release are more than made up for by the great new features and the quick response of the SWIG developers when bugs crop up.