[C++-sig] TnFOX with the latest py++ from SVN

David Abrahams dave at boost-consulting.com
Mon Oct 2 15:15:28 CEST 2006


"Roman Yakovenko" <roman.yakovenko at gmail.com> writes:

> On 10/1/06, Niall Douglas <s_sourceforge at nedprod.com> wrote:
>> Sorry it's taken so long to get onto this - but I have some
>> conclusions.
>>
>> WARNING: void FX::FXGLViewer::eyeToScreen(FX::FXint & sx, FX::FXint &
>> sy, FX::FXVec3f e) [member_function]
>> > The function takes as argument (name=sx, pos=0 ) non-const reference
>> > to C++ fundamental type - function could not be called from Python.
>>
>> Surely BPL can rebind the value of sx on output back to the input? I
>> remember something in the tutorial about this just working out of the
>> box.
>
> No it can not. In near future it will be very easy to instruct Py++ to
> create wrapper
> for such functions.

But even with a wrapper it's never going to automagically rebind
anything, FWIW.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Cplusplus-sig mailing list