CFBundleGetFunctionPointersForNames(_:_:_:)
Constructs a function table containing pointers to all of the functions found in a bundle’s main executable code.
Declaration
func CFBundleGetFunctionPointersForNames(_ bundle: CFBundle!, _ functionNames: CFArray!, _ ftbl: UnsafeMutablePointer<UnsafeMutableRawPointer?>!)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 containsNULLfor any names infunctionNamesthat cannot be found.
Discussion
Calling this function causes the bundle’s code to be loaded if necessary.