Type Alias

SecTransformCreateFP

A pointer to a function that creates a new instance of a custom transform.

Declaration

typedef SecTransformInstanceBlock  _Nonnull (*SecTransformCreateFP)(CFStringRef name, SecTransformRef newTransform, SecTransformImplementationRef ref);

Parameters

name

The name of the new custom transform. This name must be unique.

newTransform

The newly created transform.

ref

A reference that is bound to an instance of a custom transform.

Return Value

A SecTransformInstanceBlock that is used to create a new instance of a custom transform.

Discussion

Provide a function of this type to the SecTransformCreate function when creating a custom transform. The function defined here returns an object of type SecTransformInstanceBlock that provides the implementation of all of the overrides necessary to create the custom transform. This returned SecTransformInstanceBlock is also where the "instance" variables for the custom transform may be defined.

See Also

Custom Transforms

SecTransformCreate

Creates a transform computation object.

SecTransformRegister

Registers a custom transform.

SecTransformInstanceBlock

A block that you return from a transform creation function.

SecTransformImplementationRef

An opaque pointer to a block that implements an instance of a transform.