summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ae/aegen.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/ae/aegen.py')
-rw-r--r--Mac/Modules/ae/aegen.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/Mac/Modules/ae/aegen.py b/Mac/Modules/ae/aegen.py
index 070f8a0..1769003 100644
--- a/Mac/Modules/ae/aegen.py
+++ b/Mac/Modules/ae/aegen.py
@@ -41,20 +41,20 @@ f = AEMethod(OSErr, 'AECountItems',
)
aedescmethods.append(f)
-f = AEFunction(OSErr, 'AEPutPtr',
- (AEDescList, 'theAEDescList', OutMode),
+f = AEMethod(OSErr, 'AEPutPtr',
+ (AEDescList_ptr, 'theAEDescList', InMode),
(long, 'index', InMode),
(DescType, 'typeCode', InMode),
(InBuffer, 'dataPtr', InMode),
)
-functions.append(f)
+aedescmethods.append(f)
-f = AEFunction(OSErr, 'AEPutDesc',
- (AEDescList, 'theAEDescList', OutMode),
+f = AEMethod(OSErr, 'AEPutDesc',
+ (AEDescList_ptr, 'theAEDescList', InMode),
(long, 'index', InMode),
(AEDesc_ptr, 'theAEDesc', InMode),
)
-functions.append(f)
+aedescmethods.append(f)
f = AEMethod(OSErr, 'AEGetNthPtr',
(AEDescList_ptr, 'theAEDescList', InMode),
@@ -83,11 +83,11 @@ f = AEMethod(OSErr, 'AESizeOfNthItem',
)
aedescmethods.append(f)
-f = AEFunction(OSErr, 'AEDeleteItem',
- (AEDescList, 'theAEDescList', OutMode),
+f = AEMethod(OSErr, 'AEDeleteItem',
+ (AEDescList_ptr, 'theAEDescList', InMode),
(long, 'index', InMode),
)
-functions.append(f)
+aedescmethods.append(f)
f = AEMethod(OSErr, 'AEPutParamPtr',
(AppleEvent_ptr, 'theAppleEvent', InMode),