src/engine.c
/*!
 * Parses the first character from a string, and increments it.
 * @param input the string to parse and increment.
 * @param length the length of the string. Will be decremented.
 * @return the parsed character.
 */
Parses the first character from a string, and increments it.
@param input the string to parse and increment.
@param length the length of the string. Will be decremented.
@return the parsed character.
Parses the first character from a string and increments it . @param input the string to parse and increment . @param length the length of the string . Will be decremented . @return the parsed character .
static char engine_parse_position(char **input, size_t *length)
{
	if (*length < 1)
		return '\0';
	char position = (*input)[0];
	*length -= 1;
	*input += 1;
	return position;
}
static char engine_parse_position ( char * * input , size_t * length ) { if ( * length < 1 ) return ' \0 ' ; char position = ( * input ) [ 0 ] ; * length -= 1 ; * input += 1 ; return position ; }
Parses the first character from a string, and increments it.
Parses the first character from a string and increments it .