Creates a session to be passed to node functions.
SDK
- macOS 10.6+
Framework
- Open
Directory
Declaration
func ODSessionCreate(_ allocator: CFAllocator!, _ options: CFDictionary!, _ error: Unsafe Mutable Pointer<Unmanaged<CFError>?>!) -> Unmanaged<ODSession Ref>!
Parameters
inAllocator
The memory allocator to use. If
NULL
, the default allocator is used.inOptions
A dictionary of options to associate with the session.
outError
An error reference for error details. Can be
NULL
.
Return Value
The created session.