I want to create an object-oriented interface onto
a somewhat OO C-API (targetting Ruby).
That's mostly working. But I have the problem
that one of the structs is not defined, only used
in parameters and return values. But a few
functions clearly belong to this "class".
When I add an %extend block for the structure
I get an error that this to be extened class is
undefined. Is there a way to have swig
create such a (stub) class?
(I would think it want be able to create free and
alloc functions, since sizeof would not compile
in absence of the full def, but i dont want to create
it from client code anyway.)
Get latest updates about Open Source Projects, Conferences and News.