[C++-sig] call C-functions (by reference) from Python (using Boost.Python)
Roman Yakovenko
roman.yakovenko at gmail.com
Wed Jan 17 14:27:04 CET 2007
On 1/17/07, Lutz.Lauterbach at qimonda.com <Lutz.Lauterbach at qimonda.com> wrote:
> Now that I have implemented/wrapped a lot of C-functions successfully I
> face another problem: One C-function requires an array as
> input-parameter. Thus I would like to pass a list/tuple from Python -->
> C, but I do not know how. The opposite way (passing a list/tuple from
> Python --> C) I got already working with help of the already mentioned
> file "convenience.pypp.hpp".
http://language-binding.net/pyplusplus/documentation/functions/transformation/built_in/input_static_array.html
The functionality already presented in "convenience.pypp.hpp". The
link I gave, will guide you.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
More information about the Cplusplus-sig
mailing list