mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Restore to ANSI C.
This commit is contained in:
@@ -90,8 +90,8 @@ char *PyMac_StrError(int err)
|
||||
** Estr resources. We ignore all errors. We also try
|
||||
** this only once.
|
||||
*/
|
||||
errors_loaded = 1;
|
||||
PyObject *m, *rv;
|
||||
errors_loaded = 1;
|
||||
|
||||
m = PyImport_ImportModule("macresource");
|
||||
if (!m) {
|
||||
@@ -603,4 +603,4 @@ GLUE_CONVERT(CFURLRef, CFURLRefObj_Convert, "Carbon.CF")
|
||||
GLUE_CONVERT(CFURLRef, OptionalCFURLRefObj_Convert, "Carbon.CF")
|
||||
GLUE_NEW(CFURLRef, CFURLRefObj_New, "Carbon.CF")
|
||||
|
||||
#endif /* USE_TOOLBOX_OBJECT_GLUE */
|
||||
#endif /* USE_TOOLBOX_OBJECT_GLUE */
|
||||
|
||||
Reference in New Issue
Block a user