[runtime] Convert locale code to use handles. (mono/mono#15774)
authorZoltan Varga <vargaz@gmail.com>
Tue, 23 Jul 2019 15:33:20 +0000 (11:33 -0400)
committerGitHub <noreply@github.com>
Tue, 23 Jul 2019 15:33:20 +0000 (11:33 -0400)
commitf05b6c4a5f2dd263f7d3d221fc5c2ef96758e8e1
treef6636098078020b00176938c087661888d1a9b8f
parentf8fa74bf4586e49244f30cd14e012e0274167231
[runtime] Convert locale code to use handles. (mono/mono#15774)

* [runtime] Convert locale code to use handles.

* Sort a list of defines.

* Remove a do-while.

* Fix c++-ism.

* Use mono_string_handle_to_utf8 (). Update comments.

Commit migrated from https://github.com/mono/mono/commit/a9404577e62c5f90b99e8273ef1fb6ec9f6edcb4
src/mono/mono/metadata/handle.h
src/mono/mono/metadata/icall-def.h
src/mono/mono/metadata/icall-table.h
src/mono/mono/metadata/locales.c
src/mono/mono/metadata/locales.h
src/mono/mono/metadata/object-internals.h