Charlie Savage schrieb:
> ...
> As can be seen in the code below, I have gone down the hashtable route
> with a slight twist - I use a Ruby hash table from C to store these
> mappings.  I did this instead of using a C++ map since I wanted to the
> code to be just C and it was easier then implementing a hash table from
> scratch in C.
> ...

I can't say anything about your code, cause I've never used SWIG yet, 
but it looks like you've done a very nice work. I just wanted to mention 
a hash table implementation in C which is used in the Ruby source code: 
just look at st.[hc].

Regards, Pit