aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-09-19 18:00:01 +0200
committerSverker Eriksson <[email protected]>2013-09-19 18:00:01 +0200
commitf7c9b020f21d57bceddc8596faa275be20625557 (patch)
treeab4eb313a9b543260b767460e4895c6c89278f60 /erts/emulator/beam/global.h
parent138737feb3acd4dd5be310bc8f39712adcafc175 (diff)
downloadotp-f7c9b020f21d57bceddc8596faa275be20625557.tar.gz
otp-f7c9b020f21d57bceddc8596faa275be20625557.tar.bz2
otp-f7c9b020f21d57bceddc8596faa275be20625557.zip
erts: Factor out erts_convert_filename_to_wchar()
from erts_convert_filename_to_encoding()
Diffstat (limited to 'erts/emulator/beam/global.h')
-rwxr-xr-xerts/emulator/beam/global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 11e464b639..c040b259a0 100755
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -918,6 +918,10 @@ char *erts_convert_filename_to_encoding(Eterm name, char *statbuf,
int allow_empty, int allow_atom,
int encoding,
Sint *used /* out */);
+char* erts_convert_filename_to_wchar(byte* bytes, Uint size,
+ char *statbuf, size_t statbuf_size,
+ ErtsAlcType_t alloc_type, Sint* used,
+ Uint extra_wchars);
Eterm erts_convert_native_to_filename(Process *p, byte *bytes);
Eterm erts_utf8_to_list(Process *p, Uint num, byte *bytes, Uint sz, Uint left,
Uint *num_built, Uint *num_eaten, Eterm tail);