From: snacktime Date: 2006-09-22T15:32:04+09:00 Subject: Re: Assistance wanted for integrating existing C-API into Ruby > > And still, I am searching someone who can help me in getting a > prototype starting... maybe it would just be sufficient to wrap two or > three c-api calls so that I get a feeling for how to do it myself. Being pretty much a C newbie, I found it much easier to just write an extension from scratch rather then use SWIG. If you already know the library you are working with, how to call it,and what header files it needs, it's actually fairly simple to wrap a few C function calls. Most of my time was spent figuring out the C functions I was working with, not figuring out how to wrap them for ruby. If you don't have the pickaxe book the following url should help. http://www.rubycentral.com/book/ext_ruby.html Chris