Don't use a default "int" return type, gcc gives a warning about it.

This commit is contained in:
Jack Jansen 2001-09-04 22:16:33 +00:00
parent f9114239e7
commit d157b3795b

View File

@ -98,7 +98,7 @@ class ObjectDefinition(GeneratorGroup):
"Override this method to apply additional checks/conversions"
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)
OutLbrace()
self.outputCheckConvertArg()