From: "Lipper, Matthew" Date: 2005-08-19T22:28:27+09:00 Subject: Re: SWIG Ruby Memory Management > > 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. Ditto. > 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 > > You mentioned you were writing a Ruby binding for GDAL. Are you going to make this publicly available? Regards, Matt