Ondrej Certik, 17.02.2009 05:26: > I have the following class: > > cdef class H1Space: > > def __init__(self, Mesh m, H1Shapeset s): > self.thisptr = new_H1Space(m.thisptr, s.thisptr) > > and it is initialized from 2 other classes. Sometimes however, I would > like to initialize it directly from a C++ instance of c_H1Space, e.g. > I would like to create the H1Space class *without* calling it's > constructor and just set the self.thisptr object to the C++ instance.
BTW, note that this kind of question is best suited for the cython-users mailing list, not the cython-dev mailing list. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
