mirror of https://github.com/python/cpython
Don't use a default "int" return type, gcc gives a warning about it.
This commit is contained in:
parent
f9114239e7
commit
d157b3795b
|
@ -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…
Reference in New Issue