---
title: "CFBundleGetDataPointerForName(_:_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfbundlegetdatapointerforname(_:_:)"
---

# CFBundleGetDataPointerForName(_:_:)

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

## Declaration

```swift
func CFBundleGetDataPointerForName(_ bundle: CFBundle!, _ symbolName: CFString!) -> UnsafeMutableRawPointer!
```

## Parameters

- `bundle`: The bundle to examine.
- `symbolName`: The name of the symbol you are searching for.

## Return Value

Return Value A data pointer to a symbol named symbolName in bundle, or NULL if symbolName cannot be found. Ownership follows the The Get Rule.

## See Also

### Managing Executable Code

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