ddpi_stackstate_term operation

The ddpi_stackstate_term operation releases all the memory associated by the Ddpi_StackState object.

Prototype

int ddpi_stackstate_term(
  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 resources associated with the stack state object have been successfully released.
DW_DLV_NO_ENTRY
Never returned.
DW_DLV_ERROR
This value is returned if:
  • info is NULL.
  • ret_stackstate is NULL.
  • An error occurs during memory deallocation.