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+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Foundation
Declaration
func CFBundleGetFunctionPointersForNames(_ bundle: CFBundle!, _ functionNames: CFArray!, _ ftbl: Unsafe Mutable Pointer<Unsafe Mutable Raw Pointer?>!)
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.