[pypy-commit] pypy ffi-backend: Documentation
arigo
noreply at buildbot.pypy.org
Fri Aug 3 13:45:25 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch: ffi-backend
Changeset: r56560:603539725659
Date: 2012-08-03 13:45 +0200
http://bitbucket.org/pypy/pypy/changeset/603539725659/
Log: Documentation
diff --git a/pypy/rlib/jit_libffi.py b/pypy/rlib/jit_libffi.py
--- a/pypy/rlib/jit_libffi.py
+++ b/pypy/rlib/jit_libffi.py
@@ -31,10 +31,10 @@
CIF_DESCRIPTION = lltype.Struct(
'CIF_DESCRIPTION',
('cif', FFI_CIF),
- ('abi', FFI_ABI),
- ('nargs', lltype.Signed),
- ('rtype', FFI_TYPE_P),
- ('atypes', FFI_TYPE_PP),
+ ('abi', FFI_ABI), # these 4 fields could also be read directly
+ ('nargs', lltype.Signed), # from 'cif', but doing so adds a dependency
+ ('rtype', FFI_TYPE_P), # on the exact fields available from ffi_cif.
+ ('atypes', FFI_TYPE_PP), #
('exchange_size', lltype.Signed),
('exchange_result', lltype.Signed),
('exchange_result_libffi', lltype.Signed),
More information about the pypy-commit
mailing list