Re: [Cython] bug: constructor declarations not working

2014-08-16 Thread Robert Bradshaw
On Sat, Aug 16, 2014 at 9:07 PM, Marcus Brinkmann wrote: > Hi, > > ok, this is not as easy as I originally thought. I fixed a couple of things > that prevented the suggested syntax from working, but the linking stage has > additional challenges, as there is currently no support for cimporting a >

Re: [Cython] bug: constructor declarations not working

2014-08-16 Thread Marcus Brinkmann
Hi, ok, this is not as easy as I originally thought. I fixed a couple of things that prevented the suggested syntax from working, but the linking stage has additional challenges, as there is currently no support for cimporting a native cppclass from one module to another (akin to the "api" f

[Cython] bug: constructor declarations not working

2014-08-11 Thread Marcus Brinkmann
Hi, I want to declare and define C++ classes from Cython. Sure, I could write them in native C++, but it's just small glue code, and I prefer to let Cython handle the GIL and all the other good stuff. First, for reference, the following works (c.f. tests/run/cpp_classes_def.pyx): == cytho