Previous - Up - Next

SIM_instruction_end()

NAME
SIM_instruction_end — deallocate an instruction

SYNOPSIS
instruction_error_t 
SIM_instruction_end(instruction_id_t ii);

DESCRIPTION
This function deallocates the data structures previously allocated by SIM_instruction_begin. The instruction can be ended if it is not yet inserted in the instruction tree or if it is committed (SIM_instruction_proceed, SIM_instruction_commit). To remove an inserted instruction use SIM_instruction_squash.

ii is the id of the instruction to deallocate.

EXCEPTIONS
Index Thrown if ii is illegal.
RETURN VALUE
Sim_IE_OK on success,
Sim_IE_Not_Committed if the instruction is not committed.
SEE ALSO
SIM_instruction_begin, SIM_instruction_proceed, SIM_instruction_squash

Previous - Up - Next