#include <oskit/com/stream.h>OSKIT_COMDECL oskit_stream_revert(oskit_stream_t *f);
This method changes the state of this stream object to its last committed state if the stream is a transacted object. Otherwise, this method does nothing.
- f
- The object to revert.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.