Author: Armin Rigo <[email protected]>
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):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit