On Jan 24, 2007, at 12:28 PM, Charles Yeomans wrote:
It is probably more useful to update the code to use soft declares.
True, but I was considering those that still work in 5.5 and
attempted to keep it relevant to them as well.
What I find humorous (and frustrating at the same time) is that there
are still examples distributed with 2007r1 that give code for Inline
68K but ignore the changes necessary for Mach-O and MacIntel builds.
Here's a snippet from the Double-Clickable Canvas Example.rbp
(Updated July 5, 2006)
#if targetMacOS then
#if targetCarbon then
Declare Function GetDblTime Lib "CarbonLib" () as Integer
#else
Declare Function GetDblTime Lib "InterfaceLib" () as Integer
Inline68K("2EB802F0")
#endif
doubleClickTime = GetDblTime()
#endif
Even the LR Declare Statement ignores Mach-O and UB builds in its
Double-click example.
-Terry
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>