diff options
Diffstat (limited to 'memory/wtoi.c')
-rw-r--r-- | memory/wtoi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/memory/wtoi.c b/memory/wtoi.c new file mode 100644 index 0000000..9510d3f --- /dev/null +++ b/memory/wtoi.c @@ -0,0 +1,3 @@ +#include "memory.h" + +int wtoi(wchar_t const *string) { return (int)_wcstol_wrap(string, NULL, 10); } |