ts wrote: > Look at ruby-1.8.5/ext/dbm/dbm.c, in the ruby source, to see an example > how you can do this (fdbm_alloc(), free_dbm() and fdbm_initialize()) Thanks, this is exactly what I was looking to due. Lyle Johnson wrote: > Just curious: Are the Ruby bindings that come with Redland just not > suitable for your project? I'm wondering why you're re-inventing the > wheel here. The RDF-Redland binding is outdated and decidedly un-ruby-like. The other problem is the SWIG binding for Redland doesn't expose all of the functions I wanted to access. In addition to wrapping Redland I need to get at some of the lower level functions from Rasqal. We're also planning on building an Ontology-aware level above Redland, with goals similar to that of the (now-defunct) Semitar project and want to get the lowerlevel code right before working on that. Mixing the existing binding with higher-level C code would be a little ugly - we'd prefer to keep the lower level code in C. -Justin -- Posted via http://www.ruby-forum.com/.