pub unsafe extern "C-unwind" fn SecTransformCreateFromExternalRepresentation(
dictionary: &CFDictionary,
error: *mut *mut CFError,
) -> Option<CFRetained<SecTransform>>
๐Deprecated: SecTransform is no longer supported
Available on crate feature
SecTransform
only.Expand description
Creates a transform instance from a CFDictionary of parameters.
Parameter dictionary
: The dictionary of parameters.
Parameter error
: An optional pointer to a CFErrorRef. This value is
set if an error occurred. If not NULL the caller is
responsible for releasing the CFErrorRef.
Returns: A pointer to a SecTransformRef object. You must release the object with CFRelease when you are done with it. A NULL will be returned if an error occurred during initialization, and if the error parameter is non-null, it contains the specific error data.
ยงSafety
dictionary
generics must be of the correct type.error
must be a valid pointer or null.