| 
    
        |  | 
This Technical Note discusses known errors and omissions in Inside Macintosh: PowerPC System Software. [Oct 01 1994] |  
 
 
 
 
 Topics
Correction to Discussion of Routine Descriptors    October 1994Correction to Figure 1-2 October 1994Clarification of MakePEF October 1994Correction to Listing 3-6 October 1994Clarification of GetDiskFragmentDescription    October 1994Correction to FindSymbolSymbol Classes October 1994Correction to Description of GetIndSymbolOctober 1994 Back to top Chapter 1 - Introduction to PowerPC System SoftwareCorrection to Discussion of Routine DescriptorsPage 1-17, Routine Descriptors The last paragraph on this page mentions "the value passed in the
gActionProcparameter". This is a typographical error. The correct
description should be "the value passed in themyActionProcparameter." Correction to Figure 1-2Page 1-24, Imports and Exports Figure 1-2 contains an incorrect label." Exit to Shell" should be "ExitToShell." Clarification of MakePEFPage 1-26, Imports and Exports; page 1-38, Executable Resources The MPW tool MakePEF might be replaced by other equivalent tools in future
releases of the Macintosh on RISC development tools. Back to top Chapter 3 - Code Fragment ManagerCorrection to Listing 3-6Page 3-14, Getting Information About Exported Symbols The index used in a call to GetIndSymbolis zero-based, not one-based.
As a result, theforstatement in Listing 3-6 should be as follows: for (myIndex = 0; myIndex < myCount; myIndex++) Clarification of GetDiskFragment DescriptionPage 3-19, 3-31 The constant kWholeFork(documented as a possible value for thelengthparameter toGetDiskFragment) and all the Rez
constants listed on pages 3-30 through 3-31 are defined in the MPW interface
fileCodeFragmentTypes.r. To use the constantkWholeForkin C
source files, you should define it to be 0. Correction to FindSymbol Symbol ClassesPage 3-25, 3-32 The symbol class constants returned by FindSymbolare listed incorrectly. 
The correct constants should bekCodeSym,kDataSym, andkTVectSym. Correction to Description of GetIndSymbolPage 3-26 The index used in a call to GetIndSymbolis zero-based, not one-based.
As a result, the description of thesymIndexparameter should be as follows: A symbol index. The value of this parameter should be greater than or equal to
0 and less than the value returned by the CountSymbolsfunction. Back to top ReferencesBack to top 
 Downloadables
            
               | 
 | Acrobat version of this Note (K) | Download |  
 Back to top |