[pypy-commit] cffi default: Untested (how..?): record dependencies across ffi.include()
arigo
noreply at buildbot.pypy.org
Wed Dec 5 00:05:24 CET 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r1095:97095501404b
Date: 2012-12-04 15:01 -0800
http://bitbucket.org/cffi/cffi/changeset/97095501404b/
Log: Untested (how..?): record dependencies across ffi.include()
diff --git a/cffi/api.py b/cffi/api.py
--- a/cffi/api.py
+++ b/cffi/api.py
@@ -315,6 +315,9 @@
lib object returned by the original FFI instance.
"""
self._parser.include(ffi_to_include._parser)
+ self._cdefsources.append('[')
+ self._cdefsources.extend(ffi_to_include._cdefsources)
+ self._cdefsources.append(']')
def _make_ffi_library(ffi, libname, flags):
More information about the pypy-commit
mailing list