Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Roy Sutton <roys@mi...> - 2006-09-28 18:43:22
[ Accidently replied directly to Olly. Forwarding the message and
Olly's helpful response to the list for archiving]
On Wed, Sep 27, 2006 at 04:55:41PM -0400, Roy Sutton wrote:
> > Sorry, I should have been more clear. AFAICT those are unused now. At
> > the top of that file is:
> > #if !defined(SWIG_USE_OLD_TYPEMAPS)
> > %include <typemaps/typemaps.swg>
> > #else
> > So that code isn't used.
Hmm, looks like Ruby's using the UTL now. That's a maze of macros which
I don't really understand in detail yet (I had a go at tracking down a
perl bug and just got lost).
The basic idea is that each language defines "fragments" for operations
like "convert Ruby variable to C integer" and then these are combined by
a framework of language independent macros, which the language can
override if it has peculiar requirements. Look in Lib/typemaps for
the language independent stuff (start with the README).
In particular, I think you want to look at:
So it looks like Ruby's NUM2LONG is used instead of NUM2INT.