src/ssx/ssx/ssx_core.c
/// Initialize an SsxDeque element
///
/// \param element Typically the SsxDeque object of a queable structure
///
/// SSX has no way of knowing whether the \a element is currently in use, so
/// this API must only be called on unitialized or otherwise unused deque
/// elements.
///
/// \retval 0 success
///
/// \retval -SSX_INVALID_DEQUE_ELEMENT The \a element pointer was null
Initialize an SsxDeque element
\param element Typically the SsxDeque object of a queable structure

SSX has no way of knowing whether the \a element is currently in use, so
this API must only be called on unitialized or otherwise unused deque
elements.

\retval 0 success

\retval -SSX_INVALID_DEQUE_ELEMENT The \a element pointer was null
Initialize an SsxDeque element \ param element Typically the SsxDeque object of a queable structure SSX has no way of knowing whether the \ a element is currently in use so this API must only be called on unitialized or otherwise unused deque elements . \ retval 0 success \ retval - SSX_INVALID_DEQUE_ELEMENT The \ a element pointer was null
int
ssx_deque_element_create(SsxDeque* element)
{
    if (SSX_ERROR_CHECK_API)
    {
        SSX_ERROR_IF(element == 0, SSX_INVALID_DEQUE_ELEMENT);
    }
    element->next = 0;
    return 0;
}
int ssx_deque_element_create ( SsxDeque * element ) { if ( SSX_ERROR_CHECK_API ) { SSX_ERROR_IF ( element == 0 , SSX_INVALID_DEQUE_ELEMENT ) ; } element -> next = 0 ; return 0 ; }
Initialize an SsxDeque element
\param element Typically the SsxDeque object of a queable structure
Initialize an SsxDeque element \ param element Typically the SsxDeque object of a queable structure