Commit f2844895 authored by Robert Bradshaw's avatar Robert Bradshaw

Make __pyx_import_star_type_names static to remove link errors when freezing.

parent a391c3a3
......@@ -1767,7 +1767,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
def generate_import_star(self, env, code):
env.use_utility_code(streq_utility_code)
code.putln()
code.putln("char* %s_type_names[] = {" % Naming.import_star)
code.putln("static char* %s_type_names[] = {" % Naming.import_star)
for name, entry in env.entries.items():
if entry.is_type:
code.putln('"%s",' % name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment