28 Aug
2010
28 Aug
'10
6:06 a.m.
On Fri, Aug 27, 2010 at 11:12 PM, Nick Rudnick <joerg.rudnick@t-online.de> wrote:
Hi,
being new to the FFI, I hope this might have an easy solution:
The following (GHC 6.12.1),
---------------------- C++ lib class A { public: B* getB(){ B* ptr= &b; cerr << "C: " << << endl; return ptr; } private: B b; } ---------------------- C wrapper B* A_getB(A* a){ a->getB(); }
B* A_getB(A* a){ return a->getB(); } ? -- Cheers, Lemmih