axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
void axl_stream_nullify ( axlStream stream,
NullifyItem  item 

Allows to nullify the internal reference of the stream, making that reference to be not deallocated once the stream is moving.

This is mainly used to reduce the malloc/free round trip while using the stream abstraction, making the stream received from the memory chunk to be allocated only once, avoiding the double allocate-free cycle.

streamThe axlStream where the operation will be performed.
itemThe item to nullify.

References axl_return_if_fail, LAST_CHUNK, LAST_GET_FOLLOWING, and LAST_NEAR_TO.