#include <math.h>
#include "wtstring.h"
#include "../common/common_utils.h"

Functions | |
| PUBLIC W32 | wt_strhash (const char *string, W32 length, W32 mask) |
| Generates a hash value from string. | |
| PUBLIC SW32 | StringToInteger (const char *string, W32 *error) |
| Convert string to integer. | |
| PUBLIC double | StringToFloat (const char *string, W32 *error) |
| Convert string to float. | |
| PUBLIC double StringToFloat | ( | const char * | string, | |
| W32 * | error | |||
| ) |
Convert string to float.
| [in] | string | The String to be converted to a float. |
| [out] | error | Error code. See header. |

| PUBLIC SW32 StringToInteger | ( | const char * | string, | |
| W32 * | error | |||
| ) |
Convert string to integer.
| [in] | string | The String to be converted to an Integer. |
| [out] | error | Error code. See header. |

| PUBLIC W32 wt_strhash | ( | const char * | string, | |
| W32 | length, | |||
| W32 | mask | |||
| ) |
Generates a hash value from string.
| [in] | string | NUL-terminated string to hash. |