summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/PublicMethods.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-02-21 15:05:57 -0800
committerChromium commit bot <commit-bot@chromium.org>2017-02-22 01:08:38 +0000
commit9b99b63fa5e56bd820aecdc0fd2decd22a3d075a (patch)
treeb1eb5be25aef41f2f4f70a985e822af004f007a5 /fpdfsdk/javascript/PublicMethods.cpp
parentc54c07eac0531b6d9fcd591c3e44c5e27817d076 (diff)
downloadpdfium-9b99b63fa5e56bd820aecdc0fd2decd22a3d075a.tar.xz
Convert native method names to single-byte.
There are no non-ascii characters, so save space. Change-Id: Ib9efb9386b6fc83bf3bb1810c791aadeeeebc259 Reviewed-on: https://pdfium-review.googlesource.com/2817 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/PublicMethods.cpp')
-rw-r--r--fpdfsdk/javascript/PublicMethods.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/fpdfsdk/javascript/PublicMethods.cpp b/fpdfsdk/javascript/PublicMethods.cpp
index 42903c25a3..3bcbc341ac 100644
--- a/fpdfsdk/javascript/PublicMethods.cpp
+++ b/fpdfsdk/javascript/PublicMethods.cpp
@@ -31,28 +31,28 @@
#define DOUBLE_CORRECT 0.000000000000001
JSMethodSpec CJS_PublicMethods::GlobalFunctionSpecs[] = {
- {L"AFNumber_Format", AFNumber_Format_static},
- {L"AFNumber_Keystroke", AFNumber_Keystroke_static},
- {L"AFPercent_Format", AFPercent_Format_static},
- {L"AFPercent_Keystroke", AFPercent_Keystroke_static},
- {L"AFDate_FormatEx", AFDate_FormatEx_static},
- {L"AFDate_KeystrokeEx", AFDate_KeystrokeEx_static},
- {L"AFDate_Format", AFDate_Format_static},
- {L"AFDate_Keystroke", AFDate_Keystroke_static},
- {L"AFTime_FormatEx", AFTime_FormatEx_static},
- {L"AFTime_KeystrokeEx", AFTime_KeystrokeEx_static},
- {L"AFTime_Format", AFTime_Format_static},
- {L"AFTime_Keystroke", AFTime_Keystroke_static},
- {L"AFSpecial_Format", AFSpecial_Format_static},
- {L"AFSpecial_Keystroke", AFSpecial_Keystroke_static},
- {L"AFSpecial_KeystrokeEx", AFSpecial_KeystrokeEx_static},
- {L"AFSimple", AFSimple_static},
- {L"AFMakeNumber", AFMakeNumber_static},
- {L"AFSimple_Calculate", AFSimple_Calculate_static},
- {L"AFRange_Validate", AFRange_Validate_static},
- {L"AFMergeChange", AFMergeChange_static},
- {L"AFParseDateEx", AFParseDateEx_static},
- {L"AFExtractNums", AFExtractNums_static},
+ {"AFNumber_Format", AFNumber_Format_static},
+ {"AFNumber_Keystroke", AFNumber_Keystroke_static},
+ {"AFPercent_Format", AFPercent_Format_static},
+ {"AFPercent_Keystroke", AFPercent_Keystroke_static},
+ {"AFDate_FormatEx", AFDate_FormatEx_static},
+ {"AFDate_KeystrokeEx", AFDate_KeystrokeEx_static},
+ {"AFDate_Format", AFDate_Format_static},
+ {"AFDate_Keystroke", AFDate_Keystroke_static},
+ {"AFTime_FormatEx", AFTime_FormatEx_static},
+ {"AFTime_KeystrokeEx", AFTime_KeystrokeEx_static},
+ {"AFTime_Format", AFTime_Format_static},
+ {"AFTime_Keystroke", AFTime_Keystroke_static},
+ {"AFSpecial_Format", AFSpecial_Format_static},
+ {"AFSpecial_Keystroke", AFSpecial_Keystroke_static},
+ {"AFSpecial_KeystrokeEx", AFSpecial_KeystrokeEx_static},
+ {"AFSimple", AFSimple_static},
+ {"AFMakeNumber", AFMakeNumber_static},
+ {"AFSimple_Calculate", AFSimple_Calculate_static},
+ {"AFRange_Validate", AFRange_Validate_static},
+ {"AFMergeChange", AFMergeChange_static},
+ {"AFParseDateEx", AFParseDateEx_static},
+ {"AFExtractNums", AFExtractNums_static},
{0, 0}};
IMPLEMENT_JS_STATIC_GLOBAL_FUN(CJS_PublicMethods)