Type conversion. More...
Functions | |
VTM_API char * | vtm_conv_int64_str (int64_t num) |
VTM_API char * | vtm_conv_uint64_str (uint64_t num) |
VTM_API char * | vtm_conv_double_str (double r) |
VTM_API int64_t | vtm_conv_str_int64 (const char *in) |
VTM_API uint64_t | vtm_conv_str_uint64 (const char *in) |
VTM_API double | vtm_conv_str_double (const char *in) |
VTM_API char* vtm_conv_int64_str | ( | int64_t | num | ) |
Returns the string representation of a signed 64 bit integer.
num | the integer that should be represented as string |
VTM_API char* vtm_conv_uint64_str | ( | uint64_t | num | ) |
Returns the string representation of an unsigned 64 bit integer.
num | the integer that should be represented as string |
VTM_API char* vtm_conv_double_str | ( | double | r | ) |
Returns the string representation of double value.
r | the double that should be represented as string |
VTM_API int64_t vtm_conv_str_int64 | ( | const char * | in | ) |
Parses signed 64 bit integer value from string.
in | the NUL-terminated input string |
VTM_API uint64_t vtm_conv_str_uint64 | ( | const char * | in | ) |
Parses unsigned 64 bit integer value from string.
in | the NUL-terminated input string |
VTM_API double vtm_conv_str_double | ( | const char * | in | ) |
Parses a double value from string.
in | the NUL-terminated input string |