Commits

Amaury Forgeot d'Arc committed 63bcfeb

Put class handling code in its own class.

  • Participants
  • Parent commits 2e52cfd
  • Branches separate-compilation

Comments (0)

Files changed (1)

File pypy/translator/c/test/test_separate.py

         table = separate.ExportTable()
         for name, obj in exports.items():
             if isinstance(obj, (type, types.ClassType)):
-                table.exported_class[name] = obj
+                table.exported_class[name] = separate.ClassInfo(name, obj)
             else:
                 table.exported_function[name] = obj
         table.annotate_exported_functions(t.annotator)