mirror of
https://github.com/python/cpython.git
synced 2025-11-26 13:22:51 +00:00
Don't use a default "int" return type, gcc gives a warning about it.
This commit is contained in:
parent
f9114239e7
commit
d157b3795b
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ class ObjectDefinition(GeneratorGroup):
|
||||||
"Override this method to apply additional checks/conversions"
|
"Override this method to apply additional checks/conversions"
|
||||||
|
|
||||||
def outputConvert(self):
|
def outputConvert(self):
|
||||||
Output("%s%s_Convert(PyObject *v, %s *p_itself)", self.static, self.prefix,
|
Output("%sint %s_Convert(PyObject *v, %s *p_itself)", self.static, self.prefix,
|
||||||
self.itselftype)
|
self.itselftype)
|
||||||
OutLbrace()
|
OutLbrace()
|
||||||
self.outputCheckConvertArg()
|
self.outputCheckConvertArg()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue