From: Jack Jansen Date: Tue, 14 Mar 2000 23:29:08 +0000 (+0000) Subject: AETransactionID was mistakenly defined as a short (it is a long). Fixed. X-Git-Tag: v1.6a1~202 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=def77e53465d83216e145ca713fa043a05e7f07a;p=python AETransactionID was mistakenly defined as a short (it is a long). Fixed. --- diff --git a/Mac/Modules/ae/AEmodule.c b/Mac/Modules/ae/AEmodule.c index ebdb3e13d5..5bb7f9c678 100644 --- a/Mac/Modules/ae/AEmodule.c +++ b/Mac/Modules/ae/AEmodule.c @@ -1095,7 +1095,7 @@ static PyObject *AE_AECreateAppleEvent(_self, _args) AEReturnID returnID; AETransactionID transactionID; AppleEvent result; - if (!PyArg_ParseTuple(_args, "O&O&O&hh", + if (!PyArg_ParseTuple(_args, "O&O&O&hl", PyMac_GetOSType, &theAEEventClass, PyMac_GetOSType, &theAEEventID, AEDesc_Convert, &target, diff --git a/Mac/Modules/ae/aesupport.py b/Mac/Modules/ae/aesupport.py index d82496bfd4..3695037ec4 100644 --- a/Mac/Modules/ae/aesupport.py +++ b/Mac/Modules/ae/aesupport.py @@ -12,7 +12,7 @@ AESendMode = Type("AESendMode", "l") AESendPriority = Type("AESendPriority", "h") AEInteractAllowed = Type("AEInteractAllowed", "b") AEReturnID = Type("AEReturnID", "h") -AETransactionID = Type("AETransactionID", "h") +AETransactionID = Type("AETransactionID", "l")