Contents

ODNodeCreateWithName(_:_:_:_:)

Returns a new node created with a specified name.

Declaration

func ODNodeCreateWithName(_ allocator: CFAllocator!, _ session: ODSessionRef!, _ nodeName: CFString!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Unmanaged<ODNodeRef>!

Parameters

  • allocator:

    The memory allocator to use. If NULL, the default allocator is used.

  • session:

    The session to create the node in.

  • nodeName:

    The name of the node.

  • error:

    An error reference for error details. Can be NULL.

Return Value

The created node.

See Also

Working with Nodes