Synopsis
void step_SetDecoder(int model, STEP_DECODER *const decoder_func)
Purpose
Sets the decoder for a given step model.
Description
A decoder function takes in a pointer-to-const char and either returns the original string if nothing changed, or a dynamically allocated string if something did.
Input
model
Model being allocated.
decoder_func
Function for decoding.