ICU-20566 Add missing ICU namespace macros for extra files
authorChristian O. Venegas <cvenegas@esri.com>
Thu, 17 Jan 2019 00:17:51 +0000 (16:17 -0800)
committerShane F. Carr <shane@unicode.org>
Tue, 18 Jun 2019 03:16:03 +0000 (20:16 -0700)
commit7ccc8a09d6c0ff26581bbd7af8f93124249a78b8
treef8ce9f205d3a8ec66f8d304a406690e304514ae8
parent2fa4c4d50252c382e0d9699bf85e7b7b448a6d31
ICU-20566 Add missing ICU namespace macros for extra files

ICU now uses namespaces. When trying to use the scrptrun.h header, the
header cannot compile stand-alone as it is inheriting from UObject which
is namespaced now. Add namespace macros to properly inherit.

ICU-20566 Add scrptrun to the extra high level Makefile

The scrptrun project was not being added to the extra portion of the ICU
build. Add it as a sub project so it can always be built.

ICU-20566 Properly namespace the ScriptRun test

The ScriptRun class is now namespaced.  Update the test reference.

ICU-20566 Use int instead of void to compile

Clang will complain about having a void main without an int main to
invoke. Change void to int and return 0.
icu4c/source/extra/Makefile.in
icu4c/source/extra/scrptrun/scrptrun.cpp
icu4c/source/extra/scrptrun/scrptrun.h
icu4c/source/extra/scrptrun/srtest.cpp