Function

CFBundleGetDataPointerForName

Returns a data pointer to a symbol of the given name.

Declaration

void * CFBundleGetDataPointerForName(CFBundleRef bundle, CFStringRef symbolName);

Parameters

bundle

The bundle to examine.

symbolName

The name of the symbol you are searching for.

Return Value

A data pointer to a symbol named symbolName in bundle, or NULL if symbolName cannot be found. Ownership follows the The Get Rule.

See Also

Managing Executable Code

CFBundleGetDataPointersForNames

Returns a C array of data pointer to symbols of the given names.

CFBundleGetFunctionPointerForName

Returns a pointer to a function in a bundle’s executable code using the function name as the search key.

CFBundleGetFunctionPointersForNames

Constructs a function table containing pointers to all of the functions found in a bundle’s main executable code.

CFBundleGetPlugIn

Returns a bundle’s plug-in.