diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-04-24 08:57:22 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-04-24 08:57:22 +0700 |
commit | f40259d46de6e2c40642d6ad5ac35b373b6dbe46 (patch) | |
tree | ec7ced9b33f661adf7c63b7faf77274685485add | |
parent | f6fa219f1275b8a98c768d1f8593613ed85d5cfe (diff) |
emscripten libcextra provides wmemset,wmemcpy.
-rwxr-xr-x | system/lib/embind/bind.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/system/lib/embind/bind.cpp b/system/lib/embind/bind.cpp index 35d99dad..ec1648a9 100755 --- a/system/lib/embind/bind.cpp +++ b/system/lib/embind/bind.cpp @@ -36,24 +36,6 @@ extern "C" { }
}
-// TODO: fix in library.js or a proper emscripten libc
-extern "C" wchar_t *wmemset(wchar_t *dest, wchar_t c, size_t count) {
- wchar_t *o = dest;
- while (count--) {
- *o++ = c;
- }
- return dest;
-}
-
-// TODO: fix in library.js or a proper emscripten libc
-extern "C" wchar_t *wmemcpy(wchar_t *dest, const wchar_t *src, size_t count) {
- wchar_t *o = dest;
- while (count--) {
- *dest++ = *src++;
- }
- return dest;
-}
-
EMSCRIPTEN_BINDINGS(native_and_builtin_types) {
using namespace emscripten::internal;
|