diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-10-12 20:52:43 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-10-12 20:52:43 (GMT) |
commit | d01d396e7f9db2b3c362fe48a07cd55420dce030 (patch) | |
tree | 648b09bf3ac3c2588e661a11d3e396d83fb83030 /Parser | |
parent | 409b53840b83bc275db3ac234c547ff4dd67af58 (diff) | |
download | cpython-d01d396e7f9db2b3c362fe48a07cd55420dce030.zip cpython-d01d396e7f9db2b3c362fe48a07cd55420dce030.tar.gz cpython-d01d396e7f9db2b3c362fe48a07cd55420dce030.tar.bz2 |
Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py".
("make smelly" now clean)
Diffstat (limited to 'Parser')
-rwxr-xr-x | Parser/asdl_c.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index 5e1066f..80e432a 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -519,9 +519,9 @@ class Obj2ModVisitor(PickleVisitor): self.emit("}", depth+1) self.emit("len = PyList_GET_SIZE(tmp);", depth+1) if self.isSimpleType(field): - self.emit("%s = asdl_int_seq_new(len, arena);" % field.name, depth+1) + self.emit("%s = _Py_asdl_int_seq_new(len, arena);" % field.name, depth+1) else: - self.emit("%s = asdl_seq_new(len, arena);" % field.name, depth+1) + self.emit("%s = _Py_asdl_seq_new(len, arena);" % field.name, depth+1) self.emit("if (%s == NULL) goto failed;" % field.name, depth+1) self.emit("for (i = 0; i < len; i++) {", depth+1) self.emit("%s value;" % ctype, depth+2) |