Types and strings conversions
|
TIEXPORT2 const char *TICALL tifiles_vartype2string(CalcModel model, uint8_t data) |
model : |
a calculator model.
|
data : |
a type ID.
|
Return value : |
a string like "REAL".
|
TIEXPORT2 uint8_t TICALL tifiles_string2vartype(CalcModel model, const char *s) |
model : |
a calculator model.
|
s : |
a type as string (like "REAL").
|
Return value : |
a type ID.
|
TIEXPORT2 const char *TICALL tifiles_vartype2fext(CalcModel model, uint8_t data) |
model : |
a calculator model.
|
data : |
a type ID.
|
Return value : |
a string like "REAL".
|
TIEXPORT2 uint8_t TICALL tifiles_fext2vartype(CalcModel model, const char *s) |
model : |
a calculator model.
|
s : |
a file extension as string (like 89p).
|
Return value : |
a string like "PRGM".
|
TIEXPORT2 const char *TICALL tifiles_vartype2type(CalcModel model, uint8_t vartype) |
model : |
a calculator model.
|
id : |
a vartype ID.
|
Return value : |
a string like "Assembly Program".
|
TIEXPORT2 const char *TICALL tifiles_vartype2icon(CalcModel model, uint8_t vartype) |
model : |
a calculator model.
|
id : |
a vartype ID.
|
Return value : |
a string like "Assembly Program".
|
TIEXPORT2 uint8_t TICALL tifiles_folder_type(CalcModel model) |
model : |
a calculator model in #CalcModel enumeration.
|
Return value : |
a type ID.
|
TIEXPORT2 uint8_t TICALL tifiles_flash_type(CalcModel model) |
model : |
a calculator model in #CalcModel enumeration.
|
Return value : |
a type ID.
|
TIEXPORT2 uint8_t TICALL tifiles_idlist_type(CalcModel model) |
model : |
a calculator model in #CalcModel enumeration.
|
Return value : |
a type ID.
|
TIEXPORT2 const char *TICALL tifiles_calctype2signature(CalcModel model) |
model : |
a calculator model.
|
Return value : |
a string like "**TI89**".
|
TIEXPORT2 CalcModel TICALL tifiles_signature2calctype(const char *s) |
s : |
a TI file signature like "**TI89**".
|
Return value : |
a calculator model.
|