Re: [cython-users] Using Cythonized functions/member functions in C++

32 views
Skip to first unread message

Robert Bradshaw

unread,
Oct 31, 2012, 2:48:56 AM10/31/12
to cython...@googlegroups.com
On Wed, Oct 10, 2012 at 12:15 AM, Michael F. Peintinger
<michael.p...@googlemail.com> wrote:
> Dear all,
>
> I searched the web but did not find any hints how to do this properly.We
> develop an open source quatum chemical code in Python with C++ extensions
> (http://aiccm.de).
> Recently we cythonized the Python part so that we can compile it and use
> shared libraries.
>
> It is easy and well documented how to wrap C++ code with Cython. But is it
> also possible to import cythonized functions in my C++ code?
> That would be awesome. Then I could use modules like the one that handles
> the output or parses files in C++ simply by linking against the Cython
> objects.
>
> Has anyone done this so far?

Have you had a look at this:
http://comments.gmane.org/gmane.comp.python.cython.user/2424 ?

- Robert
Reply all
Reply to author
Forward
0 new messages