From 9d61d1bab17238b5ef62c01257b8a4d04edfa6d0 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 5 May 2000 23:09:16 +0000 Subject: Got rid of PyMem_XDEL. --- Mac/Modules/Nav.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Mac/Modules/Nav.c b/Mac/Modules/Nav.c index 452baa1..a7bc45c 100644 --- a/Mac/Modules/Nav.c +++ b/Mac/Modules/Nav.c @@ -443,7 +443,7 @@ nav_NavGetFile(self, args, kw) return NULL; err = NavGetFile(defaultLocation, &reply, &dialogOptions, eventProc, previewProc, filterProc, typeList, (void *)dict); - PyMem_XDEL(defaultLocation); + PyMem_DEL(defaultLocation); if ( err ) { PyErr_Mac(ErrorObject, err); return NULL; @@ -480,7 +480,7 @@ nav_NavPutFile(self, args, kw) return NULL; err = NavPutFile(defaultLocation, &reply, &dialogOptions, eventProc, fileType, fileCreator, (void *)dict); - PyMem_XDEL(defaultLocation); + PyMem_DEL(defaultLocation); if ( err ) { PyErr_Mac(ErrorObject, err); return NULL; @@ -616,7 +616,7 @@ nav_NavChooseFile(self, args, kw) return NULL; err = NavChooseFile(defaultLocation, &reply, &dialogOptions, eventProc, previewProc, filterProc, typeList, (void *)dict); - PyMem_XDEL(defaultLocation); + PyMem_DEL(defaultLocation); if ( err ) { PyErr_Mac(ErrorObject, err); return NULL; @@ -652,7 +652,7 @@ nav_NavChooseFolder(self, args, kw) return NULL; err = NavChooseFolder(defaultLocation, &reply, &dialogOptions, eventProc, filterProc, (void *)dict); - PyMem_XDEL(defaultLocation); + PyMem_DEL(defaultLocation); if ( err ) { PyErr_Mac(ErrorObject, err); return NULL; @@ -688,7 +688,7 @@ nav_NavChooseVolume(self, args, kw) return NULL; err = NavChooseVolume(defaultLocation, &reply, &dialogOptions, eventProc, filterProc, (void *)dict); - PyMem_XDEL(defaultLocation); + PyMem_DEL(defaultLocation); if ( err ) { PyErr_Mac(ErrorObject, err); return NULL; @@ -724,7 +724,7 @@ nav_NavChooseObject(self, args, kw) return NULL; err = NavChooseObject(defaultLocation, &reply, &dialogOptions, eventProc, filterProc, (void *)dict); - PyMem_XDEL(defaultLocation); + PyMem_DEL(defaultLocation); if ( err ) { PyErr_Mac(ErrorObject, err); return NULL; @@ -758,7 +758,7 @@ nav_NavNewFolder(self, args, kw) if (!filldialogoptions(dict, &defaultLocation, &dialogOptions, &eventProc, NULL, NULL, NULL, NULL, NULL)) return NULL; err = NavNewFolder(defaultLocation, &reply, &dialogOptions, eventProc, (void *)dict); - PyMem_XDEL(defaultLocation); + PyMem_DEL(defaultLocation); if ( err ) { PyErr_Mac(ErrorObject, err); return NULL; -- cgit v0.12