Commit 9bcc4404 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

merge

parents 749e1bfb a42fcbf3
......@@ -354,7 +354,7 @@ class GlobalState(object):
if entry.init[-1] == "L":
self.initwriter.putln('%s = PyLong_FromString((char *)"%s", 0, 0); %s;' % (
entry.cname,
entry.init,
entry.init[:-1],
self.initwriter.error_goto_if_null(entry.cname, self.module_pos)))
else:
self.initwriter.putln("%s = PyInt_FromLong(%s); %s;" % (
......
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