Sam Roberts wrote:
> I've read the swig basics, and the ruby section, and looked through a
> number of the examples, but most of my typemaps seem to have no real
> effect, I'm not sure why, and for all my effort I'm not getting
> any further.
> 
> Basically, our library has opaque contexts, and all function return
> values are status codes, function outputs are always through reference
> arguments. I don't know how to deal with them. Basically, we have a
> fairly classic OO-in-C API like:

[snip]

> Below is my example.i, it compiles and can be loaded, but
> just doesn't work like I would expect, comments are inline.
> 
> Can anybody help?

Hi Sam,

Seeing as no one's responded to this yet here, it's a fair bet you 
should try this on the SWIG mailing list.  If it turns out to be 
Ruby-specific the ruby experts for SWIG are on that list also.

HTH,

Brett Williams