[pypy-commit] cffi default: Even advanced use cases of macros are possible, if we wrap them
arigo
noreply at buildbot.pypy.org
Sun Jun 17 19:51:26 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r416:2149bed2b0c7
Date: 2012-06-17 19:51 +0200
http://bitbucket.org/cffi/cffi/changeset/2149bed2b0c7/
Log: Even advanced use cases of macros are possible, if we wrap them in
some custom C code.
diff --git a/doc/source/index.rst b/doc/source/index.rst
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -25,8 +25,8 @@
work at the API level.)
* We try to be complete. For now some C99 constructs are not supported,
- but all C89 should be, including macros (apart from the most advanced
- (ab)uses of these macros).
+ but all C89 should be, including macros (and including macro "abuses",
+ which you can `manually wrap`_ in saner-looking C functions).
.. _`LuaJIT's FFI`: http://luajit.org/ext_ffi.html
.. _`Cython`: http://www.cython.org
@@ -34,6 +34,7 @@
.. _`CPython native C extensions`: http://docs.python.org/extending/extending.html
.. _`native C extensions`: http://docs.python.org/extending/extending.html
.. _`ctypes`: http://docs.python.org/library/ctypes.html
+.. _`manually wrap`: `The verification step`_
Installation and Status
More information about the pypy-commit
mailing list