Module: macos-interface Synopsis: Manually coded additions to the automatic translation. Author: Andy Armstrong Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc. All rights reserved. License: Functional Objects Library Public License Version 1.0 Dual-license: GNU Lesser General Public License Warranty: Distributed WITHOUT WARRANTY OF ANY KIND ///---*** NOTE: Is this in the right order for a big-endian machine??? define macro FOUR_CHAR_CODE { FOUR_CHAR_CODE (?c1:expression, ?c2:expression, ?c3:expression, ?c4:expression) } => { %logior(%shift-left(as(, as(, ?c1)), 24), %shift-left(as(, as(, ?c2)), 16), %shift-left(as(, as(, ?c3)), 8), as(, as(, ?c4))) } end macro FOUR_CHAR_CODE; /// Used by some patterns as a special hack ... define inline constant $FFFFFFFF = as(, #xFFFFFFFF); ///---*** NOTE: THESE DEFINITIONS ARE TEMPORARY! ///---*** NOTE: We need proper definitions of these arrays and code to handle Pascal strings define inline constant = ; define inline constant = ; define inline constant = ; define inline constant = ; define inline constant = ; define inline constant = ; define inline constant = ; //---*** EVEN MORE SPECIAL! ///---*** NOTE: THESE DEFINITION ARE TEMPORARY! ///---*** NOTE: We need proper definitions of these arrays define inline constant = ; // QuickDraw.h define inline constant = ; // QuickdrawText.h define inline constant = ; // QuickdrawText.h define inline constant = ; // Events.h define inline constant = ; // QuickDraw.h define inline constant = ; // Menus.h /// Pointer types that are referenced in parameters but never actually defined ... define C-pointer-type => ; define C-pointer-type => ; define C-pointer-type => ; define C-pointer-type => ; define C-pointer-type => ;