AETransactionID was mistakenly defined as a short (it is a long). Fixed.
This commit is contained in:
parent
7ceab65468
commit
def77e5346
|
@ -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,
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue