[pypy-commit] pypy default: document that PyObject*'s can now be used
wlav
noreply at buildbot.pypy.org
Tue Jun 5 10:00:22 CEST 2012
Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch:
Changeset: r55404:0191b3476864
Date: 2012-06-04 17:27 -0700
http://bitbucket.org/pypy/pypy/changeset/0191b3476864/
Log: document that PyObject*'s can now be used
diff --git a/pypy/doc/cppyy.rst b/pypy/doc/cppyy.rst
--- a/pypy/doc/cppyy.rst
+++ b/pypy/doc/cppyy.rst
@@ -361,6 +361,11 @@
If a pointer is a global variable, the C++ side can replace the underlying
object and the python side will immediately reflect that.
+* **PyObject***: Arguments and return types of ``PyObject*`` can be used, and
+ passed on to CPython API calls.
+ Since these CPython-like objects need to be created and tracked (this all
+ happens through ``cpyext``) this interface is not particularly fast.
+
* **static data members**: Are represented as python property objects on the
class and the meta-class.
Both read and write access is as expected.
More information about the pypy-commit
mailing list