---
title: CGFunctionReleaseInfoCallback
framework: coregraphics
role: symbol
role_heading: Type Alias
path: coregraphics/cgfunctionreleaseinfocallback
---

# CGFunctionReleaseInfoCallback

Performs custom clean-up tasks when Core Graphics deallocates a CGFunctionRef object.

## Declaration

```swift
typealias CGFunctionReleaseInfoCallback = (UnsafeMutableRawPointer?) -> Void
```

## Parameters

- `info`: The info parameter passed to doc://com.apple.coregraphics/documentation/CoreGraphics/CGFunction/init(info:domainDimension:domain:rangeDimension:range:callbacks:).

## See Also

### Callbacks

- [CGFunctionCallbacks](coregraphics/cgfunctioncallbacks.md)
- [CGFunctionEvaluateCallback](coregraphics/cgfunctionevaluatecallback.md)
