diff options
author | Sverker Eriksson <[email protected]> | 2013-09-19 18:00:01 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-09-19 18:00:01 +0200 |
commit | f7c9b020f21d57bceddc8596faa275be20625557 (patch) | |
tree | ab4eb313a9b543260b767460e4895c6c89278f60 /erts/emulator/beam/global.h | |
parent | 138737feb3acd4dd5be310bc8f39712adcafc175 (diff) | |
download | otp-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-x | erts/emulator/beam/global.h | 4 |
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); |