libobs: Use locale-independent double conversion

Prevents issues on specific locales, especially where decimal points are
represented by commas rather than periods.
This commit is contained in:
jp9000
2015-03-22 19:18:07 -07:00
parent 4abae186ce
commit d44d3b1f0a
5 changed files with 110 additions and 8 deletions
+3
View File
@@ -65,6 +65,9 @@ EXPORT size_t os_wcs_to_utf8_ptr(const wchar_t *str, size_t len, char **pstr);
EXPORT size_t os_utf8_to_mbs_ptr(const char *str, size_t len, char **pstr);
EXPORT size_t os_mbs_to_utf8_ptr(const char *str, size_t len, char **pstr);
EXPORT double os_strtod(const char *str);
EXPORT int os_dtostr(double value, char *dst, size_t size);
EXPORT void *os_dlopen(const char *path);
EXPORT void *os_dlsym(void *module, const char *func);
EXPORT void os_dlclose(void *module);