Re: [pygccxml-development] Problems with long filename
Brought to you by:
mbaas,
roman_yakovenko
|
From: Birgir S. <Bir...@ro...> - 2007-03-09 13:34:16
|
Hei, I cannot get any of those to work, as it seems to me
that they are based on the fact that I have declared the
classes.
I added this
holder =3D mb.class_( 'std::vector < std::string >')
holder.rename( 'StringVector' )
and got this error
pygccxml.declarations.matcher.declaration_not_found_t: Unable to find=
declaration. matcher: [(decl type=3D=3Dclass_t) and (name=3D=
=3Dstd::vector < std::string >)
In my case it is the return type (stl container) that
is beeing auto converted to a class_ by Py++
Is there any other way?
Birgir
-----Original Message-----
From: Roman Yakovenko [mailto:rom...@gm...]
Sent: Fri 3/9/2007 10:20 AM
To: Birgir Sigurjonsson
Cc: pyg...@li...
Subject: Re: [pygccxml-development] Problems with long filename
=0D
On 3/9/07, Birgir Sigurjonsson <Bir...@ro...> wrote:
> Hei , I am using Py++ to expose the following.
>
> class AbstractLoader : private boost::noncopyable {
> public:
>
> AbstractLoader();
> virtual ~AbstractLoader();
>
> std::vector < std::string > extensions() const;
>
> private:
> virtual std::vector < std::string > extensions_impl() const =3D 0;
> };
>
> I want to use the module_builder_t.split_module
> but I am getting the following error message.
>
> IOError: [Errno 36] File name too long:=
u'splitted/vector_less_std_scope_basic_string_less_char_comma__std_scope_c=
har_traits_less_char_grate__comma__std_scope_allocator_less_char_grate___gr=
ate__comma_std_scope_allocator_less_std_scope_basic_string_less_char_comma_=
_std_scope_char_traits_less_char_grate__comma__std_scope_allocator_less_cha=
r_grate___grate___grate___grate_.pypp.hpp'
>
> How can I tell Py++ not to autogenerate so long names?
Take a look on this "how to":
http://language-binding.net/pyplusplus/documentation/how_to.html#py-generat=
ed-file-name-is-too-long
After it you I think you would like to read this:
http://language-binding.net/pyplusplus/documentation/hints.html
Does it help?
--=0D
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
DISCLAIMER:
This message contains information that may be privileged or confidential=
and is the property of the Roxar Group. It is intended only for the person=
to whom it is addressed. If you are not the intended recipient, you are=
not authorised to read, print, retain, copy, disseminate, distribute, or=
use this message or any part thereof. If you receive this message in=
error, please notify the sender immediately and delete all copies of this=
message.=0D |