Function rcl_lexer_lookahead2_fini

Function Documentation

rcl_ret_t rcl_lexer_lookahead2_fini(rcl_lexer_lookahead2_t *buffer)

Finalize an instance of an rcl_lexer_lookahead2_t structure.

Attribute

Adherence

Allocates Memory

Yes [1]

Thread-Safe

No

Uses Atomics

No

Lock-Free

Yes

[1] Only allocates if an argument is invalid.

Parameters:

buffer[in] The structure to be deallocated.

Returns:

RCL_RET_OK if the structure was successfully finalized, or

Returns:

RCL_RET_INVALID_ARGUMENT if any function arguments are invalid, or

Returns:

RCL_RET_ERROR if an unspecified error occurs.