[C++-sig] Wrapping global data

Roman Yakovenko roman.yakovenko at gmail.com
Wed Oct 3 07:54:08 CEST 2007

On 10/2/07, Matthew Scouten <matthew.scouten at gmail.com> wrote:
> Ah. From
> http://mail.python.org/pipermail/c++-sig/2003-June/004240.html
> it looks like what I thought I wanted to do is not possible. What I
> actually need to do is create a function that returns that variable in
> question. I would have thought that exposing a global variable
> directly would be a fairly obvious thing to do. Is there a reason that
> it is not possible?

Hint: int is immutable type in Python

Roman Yakovenko
C++ Python language binding
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20071003/6ff85bc5/attachment.htm>

More information about the Cplusplus-sig mailing list