Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: PowerPC System Software /
Chapter 3 - Code Fragment Manager / Code Fragment Manager Reference
Code Fragment Manager Routines / Finding Symbols


CountSymbols

You can use the CountSymbols function to determine how many symbols are exported from a specified fragment.

OSErr CountSymbols (ConnectionID connID, long *symCount);
connID
A connection ID.
symCount
On exit, the number of exported symbols in the fragment whose connection ID is connID.
DESCRIPTION
The CountSymbols function returns, in the symCount parameter, the number of symbols exported by the fragment whose connection ID is connID. You can use the value returned in symCount to index through all the exported symbols in a particular fragment (using the GetIndSymbol function).

RESULT CODES
fragNoErr0No error
fragConnectionIDNotFound-2801Connection ID is not valid

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996