Generic detokenization support

ticonv_varname_detokenize

TIEXPORT4 char* TICALL ticonv_varname_detokenize(CalcModel model, const char *src, unsigned char type)

This function translates a binary variable name (as used on TI8x) into a human readable one.

model :
hand-held model
src :
binary string to detokenize
Return value :
a newly allocated string. Must be freed using ticonv_varname_free() when no longer used.

ticonv_varname_tokenize

TIEXPORT4 char* TICALL ticonv_varname_tokenize(CalcModel model, const char *src_, unsigned char type)

This function tries and translates a human-readable variable name into a binary name (as used on TI8x).

model :
hand-held model
src :
binary string to tokenize
Return value :
a newly allocated string. Must be freed using ticonv_varname_free() when no longer used.

ticonv_varname_free

g_free(varname);

This function frees a varname previously allocated by ticonv_varname_detokenize() or ticonv_varname_tokenize(). /

varname :
previously allocated varname string to be freed.
Return value :


Return to the main index