Function

ODSessionCreate(_:_:_:)

Creates a session to be passed to node functions.

Declaration

func ODSessionCreate(_ allocator: CFAllocator!, _ options: CFDictionary!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Unmanaged<ODSessionRef>!

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.

See Also

Working with Sessions