[C++-sig] exposing built-in type pointer

Thomas Rab thomas.rab at gmail.com
Thu Oct 2 12:52:33 CEST 2008

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

> There are few ways to go:
> 1. Create thin wrapper around X, which holds x, and use it for
> arguments and return type
> 2. Expose "x" address and use ctypes module
> 3. Create "more" Pythonic interface for the functionality.

I was thinking about option 1, how exactly would I accomplish this?

More information about the Cplusplus-sig mailing list