diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-04 22:19:18 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-04 22:19:18 (GMT) |
commit | 06d2e1af3579f6a698a84b81dfda0bacb6263f7d (patch) | |
tree | 81882308f84c962886979dc619cd2454f6874529 /Mac/Modules/dlg | |
parent | d157b3795b24b0fca2f75bfee4ac09c64a7b2f40 (diff) | |
download | cpython-06d2e1af3579f6a698a84b81dfda0bacb6263f7d.zip cpython-06d2e1af3579f6a698a84b81dfda0bacb6263f7d.tar.gz cpython-06d2e1af3579f6a698a84b81dfda0bacb6263f7d.tar.bz2 |
Regenerated without default int return types.
Diffstat (limited to 'Mac/Modules/dlg')
-rw-r--r-- | Mac/Modules/dlg/_Dlgmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/dlg/_Dlgmodule.c b/Mac/Modules/dlg/_Dlgmodule.c index 414c09f..1a02654 100644 --- a/Mac/Modules/dlg/_Dlgmodule.c +++ b/Mac/Modules/dlg/_Dlgmodule.c @@ -158,7 +158,7 @@ PyObject *DlgObj_New(DialogPtr itself) SetWRefCon(GetDialogWindow(itself), (long)it); return (PyObject *)it; } -DlgObj_Convert(PyObject *v, DialogPtr *p_itself) +int DlgObj_Convert(PyObject *v, DialogPtr *p_itself) { if (v == Py_None) { *p_itself = NULL; return 1; } if (PyInt_Check(v)) { *p_itself = (DialogPtr)PyInt_AsLong(v); |