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.

Parameters:
stream The axlStream where the operation will be performed.
item The item to nullify.