Amaury Forgeot d'Arc avatar Amaury Forgeot d'Arc committed ce6dc7d

Remove unused parameter

Comments (0)

Files changed (1)


     struct PyPyAPI* pypyAPI = &_pypyAPI;
     """ % dict(members=structmembers)
-    functions = generate_decls_and_callbacks(db, export_symbols)
+    functions = generate_decls_and_callbacks(db)
     global_objects = []
     for obj in GLOBALS.values():
     pypy_macros_h = udir.join('pypy_macros.h')
-def generate_decls_and_callbacks(db, export_symbols, api_struct=True):
+def generate_decls_and_callbacks(db, api_struct=True):
     # implement function callbacks and generate function decls
     functions = []
     generate_macros(export_symbols, rename=False)
-    functions = generate_decls_and_callbacks(db, [], api_struct=False)
+    functions = generate_decls_and_callbacks(db, api_struct=False)
     code = "#include <Python.h>\n" + "\n".join(functions)
     eci = build_eci(False, export_symbols, code)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.