Excerpts from Haoyu Bai's message of 2010-04-19 17:57:32 +0200: > Hi, > > I just found a project on GitHub which might do the thing you want: > > http://github.com/cournape/cython-codegen >
yes, I am aware of this project from (prolific!) David. he actually went thru the "pain" of generating by hand all of the .pxd code from the ctypeslib informations one can extract from a gccxml produced xml file. the problem is that ctypeslib has limited semantics when comes to C++ constructs (namespace, class inheritance,... to name a few) ...and the (LHC) experiment I will provide that code for is heavily using C++. I will probably re-use parts of the code which generates the .pxd stuff as a short term solution (I am still trying to wrap my brain against the Cython.Compiler.xyz classes to be completely confident to be able to go the way advertised earlier in this thread) depending of how much I reap off from David's work, I might consider directly merge my stuff into his. cheers, sebastien. -- ######################################### # Dr. Sebastien Binet # Laboratoire de l'Accelerateur Lineaire # Universite Paris-Sud XI # Batiment 200 # 91898 Orsay ######################################### _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
