#ifndef FILENAME_H #define FILENAME_H / * * File: #file# * * Function: Declarations for #file#cpp * * Author(s): put your name here# * * Copyright: Copyright (c) 1995 * All Rights Reserved. * * Source: Original. * * Notes: * * Change History: * 95_xx_xx_nnn Started source. * / #pragma once #insertion# #endif /* FILENAME_H */ / * #select# * * #insertion# / void ::#select#() { } /* * #select# */ // typedef MACPASCAL SInt32 (*#select#) (SInt16 pData); enum { upp#select#Info = kPascalStackBased | RESULT_SIZE(SIZE_CODE(sizeof(SInt32))) | STACK_ROUTINE_PARAMETER(1, SIZE_CODE(sizeof(SInt16))) }; #if USESROUTINEDESCRIPTORS typedef UniversalProcPtr #select#UPP; #define Call#select#(userRoutine, data) \ CallUniversalProc((UniversalProcPtr)(userRoutine), upp#select#Info, (data)) #define New#select#(userRoutine) \ (#select#UPP) NewRoutineDescriptor((ProcPtr)(userRoutine), \ upp#select#Info, \ GetCurrentISA()) #else typedef #select# #select#UPP; #define Call#select#(userRoutine, data) \ (*(userRoutine))(data) #define New#select#(userRoutine) \ (#select#UPP)(userRoutine) #endif