]> granicus.if.org Git - python/commitdiff
AETransactionID was mistakenly defined as a short (it is a long). Fixed.
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 14 Mar 2000 23:29:08 +0000 (23:29 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 14 Mar 2000 23:29:08 +0000 (23:29 +0000)
Mac/Modules/ae/AEmodule.c
Mac/Modules/ae/aesupport.py

index ebdb3e13d5ca2f2c5740f3d981474300496744d7..5bb7f9c67840d7f12c5d5ab7c1ef7c66d5ad32c7 100644 (file)
@@ -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,
index d82496bfd403aaeedd023dd7da07673ecc70921f..3695037ec4d60a7b10e6e0dd75e4609b69e5e70c 100644 (file)
@@ -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")