Hi,
A C++ "reference" type like "int &" is implemented like a C++ pointer type "int *" by most C++ compilers, as far as I know. My guess is that you simply have to pretend that "int &" is just "int *".
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.)
It's about the difference between cppyy and PyCintex, which is an older CPython-only equivalent to cppyy.
Yes, and although the documentation is not wrong, it is out of date. There is a 'cppyy.py' module in recent versions of ROOT. Still suffers from the same dependency issues, but recent repositories (scientific software section of linux distro's, and certainly MacPorts) should have it, so although not nice, it's also not the end of the world to install. (Also means that yes, there is a cppyy on llvm these days, but for CPython, available through ROOT6. MacPorts definitely has it, not sure about others. There are some p3 issues, though, as llvm itself uses p2, but those can be worked around.) I've started rewriting all unit tests on the CPython side to be based on pytest and cppyy, and to synchronize them between the two implementations. Is a lot more work than I expected. :P Best regards, Wim -- wlavrij...@lbl.gov -- +1 (510) 486 6411 -- www.lavrijsen.net _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev