1. Python CFFI
  2. Untitled project
  3. cffi

Commits

Armin Rigo  committed 1974af9

Fix test

  • Participants
  • Parent commits c5e1744
  • Branches default

Comments (0)

Files changed (1)

File testing/test_parsing.py

View file
  • Ignore whitespace
     def new_struct_type(self, name):
         return FakeStruct(name)
 
-    def complete_struct_or_union(self, s, fields, tp=None):
+    def complete_struct_or_union(self, s, fields, tp=None,
+                                 totalsize=-1, totalalignment=-1, sflags=0):
         assert isinstance(s, FakeStruct)
         s.fields = fields