Carbon


CountSymbols

Header: CodeFragments.h Carbon status: Supported

Determines how many symbols are exported from a specified fragment.

OSErr CountSymbols (
    CFragConnectionID connID, 
    SInt32 *symCount
);
Parameter descriptions
connID

A connection ID.

symCount

On return, a pointer to the number of exported symbols in 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).

function result

A result code.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)