void DDS_sequence_clean ( void *sequence ) { gapi_sequence_clean ( sequence ); }
void gapi_sequence_replacebuf ( void *sequence, _bufferAllocatorType allocbuf, gapi_unsigned_long count) { gapiSequenceType *seq; seq = (gapiSequenceType *)sequence; if (count > seq->_maximum) { gapi_sequence_clean(seq); } if (seq->_buffer == NULL) { seq->_buffer = allocbuf(count); seq->_maximum = count; seq->_length = 0; seq->_release = TRUE; } }