Re: [pygccxml-development] Ogre Binding
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-06-02 15:44:35
|
On 6/2/06, Lakin Wecker <lak...@gm...> wrote: > On 6/2/06, Lakin Wecker <lak...@gm...> wrote: > > > > > 1. I still have the call_policy for const Matrix4 & problem, (see the > > > > > matrix4 scons log), even though there is code in generate_code.py that > > > > > should specify call_policies for all references and pointer return > > > > > types. > > > > > > > > > > 2. There are some issues for compiling the > > > > Sorry, can not reproduce. The generated file compiles fine for me. > > > > May I guess? You are generating XML files from one Ogre header files, > > > > but compile python bindings with another. Or may be you use different > > > > compilation settings. > > If you are referring to the (#1) Matrix4 problem, it also currently > compiles for me. However, Then the problem arises if I comment out > any of the following code: > # TODO: These function produce a compile error asking me to > specify a call policy for > # const Matrix4 &, but this should be covered by the loop at the > bottom of set_call_policies > ogre_ns.calldefs ('getParentEntityTransform').exclude () > ogre_ns.calldefs ('_getFullTransform').exclude () > ogre_ns.calldefs ('_getParentNodeFullTransform').exclude () I will take a look, thanks -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |