As far as what the compiler is expecting, you can always full the
complier by simply providing it with a different PR than when it was
compiled

Scott does this neat little trick with his EXPAT test programs (Scott I
hope I am remembering this correctly) where he pass a pointer to a data
structure defined in local storage to an intermediate program by value
along with a address of a procedure to do a callback. The intermediate
program does a callback to the caller passing the parameter back by
value. The callback routine then receives it by reference. The callback
routine thinks it is getting a pointer to a data structure and maps it
in automatically to the receiving data structure. Very slick.

Anyway, the point being you can always fool the compiler.



This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.