Constructs a function table containing pointers to all of the functions found in a bundle’s main executable code.
SDKs
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Foundation
Declaration
void CFBundleGetFunctionPointersForNames(CFBundle Ref bundle, CFArray Ref 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
function
. The array containsNames NULL
for any names infunction
that cannot be found.Names
Discussion
Calling this function causes the bundle’s code to be loaded if necessary.