Lenard Lindstrom wrote:
> cdef extern from "MyClass.h":
>     ctypedef struct myclass "MyClass":
>         int dosomething(float arg)
>     myclass *myclassfactory "new MyClass" (int arg)
                               ^^^^^^^^^^^^^
That's a rather ingenious trick!
Greg