---
title: "CFBundleGetFunctionPointersForNames(_:_:_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfbundlegetfunctionpointersfornames(_:_:_:)"
---

# CFBundleGetFunctionPointersForNames(_:_:_:)

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

## Declaration

```swift
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 contains NULL for any names in functionNames that cannot be found.

## Discussion

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

## See Also

### Managing Executable Code

- [CFBundleGetDataPointerForName(_:_:)](corefoundation/cfbundlegetdatapointerforname(_:_:).md)
- [CFBundleGetDataPointersForNames(_:_:_:)](corefoundation/cfbundlegetdatapointersfornames(_:_:_:).md)
- [CFBundleGetFunctionPointerForName(_:_:)](corefoundation/cfbundlegetfunctionpointerforname(_:_:).md)
- [CFBundleGetPlugIn(_:)](corefoundation/cfbundlegetplugin(_:).md)
