ddpi_stackstate_init operation

The ddpi_stackstate_init operation initializes the state of the a Ddpi_StackState object.

Prototype

int ddpi_stackstate_init(
  Ddpi_StackState       stackstate,
  Ddpi_Error*           error);        

Parameters

stackstate
Input. This accepts the Ddpi_StackState object.
error
See The libddpi error parameter.

Return values

DW_DLV_OK
Returned when the given state-stack object has been successfully initialized.
DW_DLV_NO_ENTRY
Never returned.
DW_DLV_ERROR
This value is returned if:
  • stackstate is NULL.
  • The Ddpi_Info object associated with stackstate is NULL
  • An error occurs during memory deallocation.