Andreas Beck <[EMAIL PROTECTED]> writes:

> > But there is a problem with C++, how can you make an extension that uses 
> > C++ ? 
> 
> I have no idea. 
> 
> > AFAIK if you try to resolve a function name compiled with C++ from libdl, 
> > it doesn't run... 
> 
> Maybe one has to manually demangle the function parameters ?
> 
> > Maybe could be done with 'extern "C" {' ?
> 
> Probably, if the callable functions don't use C++-Features, that should
> work.

Well, GGIdlentry() will hardly require any C++ features, so one
simply declares it as extern "C" and there is no problem.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: [EMAIL PROTECTED]

Reply via email to