Fix strings, remove stringify macros, void return types for Consts.h.
authorTom Sepez <tsepez@chromium.org>
Fri, 11 Sep 2015 20:04:48 +0000 (13:04 -0700)
committerTom Sepez <tsepez@chromium.org>
Fri, 11 Sep 2015 20:04:48 +0000 (13:04 -0700)
commitf9e40aec10263f9445d69598657f42550294d653
treeeb20eaef0841334b14266b4a83efe34ade7b1b0e
parentdf4de98c06075b0e491ac645f2d118a6813cedc9
Fix strings, remove stringify macros, void return types for Consts.h.

Replace multiple #defines of the same strings with externs.
Fix strings mangled by interaction of # and clang-format.
Remove macros as possible.
Make more JS_ functions void and simplify.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1342433002 .
fpdfsdk/include/javascript/Consts.h
fpdfsdk/include/javascript/JS_Define.h
fpdfsdk/include/javascript/JS_Runtime.h
fpdfsdk/include/jsapi/fxjs_v8.h
fpdfsdk/src/javascript/Consts.cpp
fpdfsdk/src/javascript/JS_Runtime.cpp
fpdfsdk/src/javascript/global.cpp
fpdfsdk/src/jsapi/fxjs_v8.cpp
testing/resources/javascript/consts.in
testing/resources/javascript/consts_expected.txt