1. Simon Sapin
  2. cffi

Commits

Armin Rigo  committed 9709550

Untested (how..?): record dependencies across ffi.include()

  • Participants
  • Parent commits 9929fb6
  • Branches default

Comments (0)

Files changed (1)

File cffi/api.py

View file
         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):