Function

CFBundleGetFunctionPointersForNames

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

Declaration

void CFBundleGetFunctionPointersForNames(CFBundleRef bundle, CFArrayRef functionNames, void *ftbl[]);

Parameters

bundle

The bundle to examine.

functionNames

A CFArray object containing a list of the function names to locate.

ftbl

A C array into which this function stores the function pointers for the symbols specified in functionNames. The array contains NULL for any names in functionNames that cannot be found.

Discussion

Calling this function causes the bundle’s code to be loaded if necessary.

See Also

Managing Executable Code

CFBundleGetDataPointerForName

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

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.

CFBundleGetPlugIn

Returns a bundle’s plug-in.