Re: kAXPositionAttribute and kAXSizeAttribute
Re: kAXPositionAttribute and kAXSizeAttribute
- Subject: Re: kAXPositionAttribute and kAXSizeAttribute
- From: spiderlama <email@hidden>
- Date: Thu, 19 Jul 2007 20:16:24 +1000
On 19/07/2007, at 7:40 PM, Bill Cheeseman wrote:
on 2007-07-18 10:31 PM, spiderlama at email@hidden wrote:
AXUIElementCopyAttributeValue(dock, kAXChildrenAttribute,
(CFTypeRef*)&array);
In a couple of places you do something like that. Shouldn't the
last part be
'(CFTypeRef)&array'? A CFTypeRef is already a pointer and doesn't
need the
star.
I don't think so. The function AXUIElementCopyAttributeValue's third
argument is a "CFTypeRef*", as from the Apple documentation for
AXUIElement.h.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden