On Wed, Jun 11, 2008 at 1:18 PM, Vincent Ferries
<vin...@gm...> wrote:
> It seems to work!
Good. It could be nice if you can start other thread for different problem.
> Now my problem is that many methods use std::vector types.
> The compilation pass without problems but I don't know how to call my
> functions...
> It generates me a lot of files like
> vector_less__std_scope_string__grate_ or
> vector_less__std_scope_vector_less__int__grate__grate_
> I think these are the equivalent of the C++ definitions :
> std::vector<std::string> and std::vector<std::vector<int>> converted
> to file names.
Yes it is.
> But I don't know how to call them in my Python code or what I must do
> in my generator code to be able to call them easily from python code.
> (the problem is the same with maps, and yes, I've read all the
> documentations on language-bindings site about this subject)
These classes are not different from others. They have ugly name, but
the usage is same.
Take a look on Py++ unittests:
http://pygccxml.svn.sourceforge.net/viewvc/pygccxml/pyplusplus_dev/unittests/data/indexing_suites2_to_be_exported.hpp?revision=902&view=markup
http://pygccxml.svn.sourceforge.net/viewvc/pygccxml/pyplusplus_dev/unittests/indexing_suites2_tester.py?revision=1081&view=markup
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
|