[pypy-dev] cppyy and out arguments
Armin Rigo
arigo at tunes.org
Thu Jul 31 23:54:53 CEST 2014
Hi Wim,
Thanks for answering the original question.
On 31 July 2014 19:05, <wlavrijsen at lbl.gov> wrote:
> wish that were true. Currently, I have no good int&, although int* will
> work through an array of size 1. One of them things that need integrating
> with cffi. (I tried once with CPython's ctypes, but the types are not in
> the public interface.)
...I wish I could make sense of what you said, but I'm probably just
too tired at the moment. I don't understand what the low-level
difference between "int*" and "int&" is. More importantly I don't
understand why you would mention cffi/ctypes, given that these two are
not about C++ at all. There is certainly no plan to support "int&" or
any non-C type in cffi. As far as I know these types are not in
ctypes either (public interface or not) for the same reason. They are
not in libffi either.
A bientôt,
Armin.
More information about the pypy-dev
mailing list