AETransactionID was mistakenly defined as a short (it is a long). Fixed.

This commit is contained in:
Jack Jansen 2000-03-14 23:29:08 +00:00
parent 7ceab65468
commit def77e5346
2 changed files with 2 additions and 2 deletions

View File

@ -1095,7 +1095,7 @@ static PyObject *AE_AECreateAppleEvent(_self, _args)
AEReturnID returnID; AEReturnID returnID;
AETransactionID transactionID; AETransactionID transactionID;
AppleEvent result; AppleEvent result;
if (!PyArg_ParseTuple(_args, "O&O&O&hh", if (!PyArg_ParseTuple(_args, "O&O&O&hl",
PyMac_GetOSType, &theAEEventClass, PyMac_GetOSType, &theAEEventClass,
PyMac_GetOSType, &theAEEventID, PyMac_GetOSType, &theAEEventID,
AEDesc_Convert, &target, AEDesc_Convert, &target,

View File

@ -12,7 +12,7 @@ AESendMode = Type("AESendMode", "l")
AESendPriority = Type("AESendPriority", "h") AESendPriority = Type("AESendPriority", "h")
AEInteractAllowed = Type("AEInteractAllowed", "b") AEInteractAllowed = Type("AEInteractAllowed", "b")
AEReturnID = Type("AEReturnID", "h") AEReturnID = Type("AEReturnID", "h")
AETransactionID = Type("AETransactionID", "h") AETransactionID = Type("AETransactionID", "l")