[Pyrex] Re: C-methods in extension types
Toby
tobia.conforto at linux.it
Tue Feb 21 16:44:26 CET 2006
Helmut Jarausch wrote:
> I want to call est_mtdb_get_doc and create a new instance of Document
> where 'doc' holds the return value of est_mtdb_get_doc
Can't you just wrap the call to est_mtdb_get_doc in a cdef method, and
call that method from within the (non cdef) __new__?
(I'm a newbie, so I might be saying something stupid.)
Toby
--
Signed/encrypted mail welcome. GPG/PGP Key-Id: 0x15C5C2EA
More information about the Pyrex
mailing list