diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-08-30 14:42:18 +0300 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-10 14:39:31 -0700 |
commit | 998bfbaf23a3ac894b7f57e237af529b08a5a2c3 (patch) | |
tree | 216627f1a8d30c24af2e7d799bdf7aefcd626720 /tests/utf32.cpp | |
parent | 61b6d3c337b1c35692d2c1fc3b5d30cafeec3950 (diff) |
Rename utf32<->jsstring marshalling functions to UTF32ToString and stringToUTF32 following azakai's suggestion on naming convention.
Diffstat (limited to 'tests/utf32.cpp')
-rw-r--r-- | tests/utf32.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utf32.cpp b/tests/utf32.cpp index a3e660ee..810704d3 100644 --- a/tests/utf32.cpp +++ b/tests/utf32.cpp @@ -10,9 +10,9 @@ int main() { const int len = (wstr.length()+1)*4; char *memory = new char[len]; - asm("var str = Module.utf32_to_jsstring(%0);" + asm("var str = Module.UTF32ToString(%0);" "Module.print(str);" - "Module.jsstring_to_utf32(str, %1);" + "Module.stringToUTF32(str, %1);" : : "r"(wstr.c_str()), "r"(memory)); |