On Oct 21, 12:46 am, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Fri, 17 Oct 2008 20:03:44 -0300, Aaron "Castironpi" Brady > <[EMAIL PROTECTED]> escribió: > > > > > On Oct 16, 9:10 am, Hongtian <[EMAIL PROTECTED]> wrote: > >> Not exactly. > > >> In my C/C++ application, I have following function or flow: > > >> void func1(....) > >> { > >> call PyFunc(struct Tdemo, struct &Tdemo1); > > >> } > > >> I mean I want to invoke Python function 'PyFunc' and transfer a data > >> structure 'Tdemo' to this function. After some process in Python, I > >> want it return 'Tdemo1' back to the C/C++ application. > > >> I research boost.python and think it is not a reasonable solution > >> because it make the C/C++ application too complex. > > >> Thanks. > > snip > > > Solution produced here. Includes dirty kludge, which will welcome > > correction. snip > > -- > Gabriel Genellina
Hi Gabriel, Sorry, did you have some questions about it? -- http://mail.python.org/mailman/listinfo/python-list