mirror of https://github.com/python/cpython.git
Restore to ANSI C.
This commit is contained in:
parent
84fcd92461
commit
5f26dda25d
|
@ -90,8 +90,8 @@ char *PyMac_StrError(int err)
|
||||||
** Estr resources. We ignore all errors. We also try
|
** Estr resources. We ignore all errors. We also try
|
||||||
** this only once.
|
** this only once.
|
||||||
*/
|
*/
|
||||||
errors_loaded = 1;
|
|
||||||
PyObject *m, *rv;
|
PyObject *m, *rv;
|
||||||
|
errors_loaded = 1;
|
||||||
|
|
||||||
m = PyImport_ImportModule("macresource");
|
m = PyImport_ImportModule("macresource");
|
||||||
if (!m) {
|
if (!m) {
|
||||||
|
@ -603,4 +603,4 @@ GLUE_CONVERT(CFURLRef, CFURLRefObj_Convert, "Carbon.CF")
|
||||||
GLUE_CONVERT(CFURLRef, OptionalCFURLRefObj_Convert, "Carbon.CF")
|
GLUE_CONVERT(CFURLRef, OptionalCFURLRefObj_Convert, "Carbon.CF")
|
||||||
GLUE_NEW(CFURLRef, CFURLRefObj_New, "Carbon.CF")
|
GLUE_NEW(CFURLRef, CFURLRefObj_New, "Carbon.CF")
|
||||||
|
|
||||||
#endif /* USE_TOOLBOX_OBJECT_GLUE */
|
#endif /* USE_TOOLBOX_OBJECT_GLUE */
|
||||||
|
|
Loading…
Reference in New Issue