summaryrefslogtreecommitdiff
path: root/fxjs/fxjse.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/fxjse.h')
-rw-r--r--fxjs/fxjse.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/fxjs/fxjse.h b/fxjs/fxjse.h
index 3f2eb1d836..c28cc6c919 100644
--- a/fxjs/fxjse.h
+++ b/fxjs/fxjse.h
@@ -11,6 +11,15 @@
#include "core/fxcrt/fx_system.h"
#include "v8/include/v8.h"
+namespace pdfium {
+namespace fxjse {
+
+extern const char kFuncTag[];
+extern const char kClassTag[];
+
+} // namespace fxjse
+} // namespace pdfium
+
class CFXJSE_Arguments;
class CFXJSE_FormCalcContext;
class CFXJSE_Value;
@@ -50,11 +59,13 @@ enum FXJSE_ClassPropTypes {
};
struct FXJSE_FUNCTION_DESCRIPTOR {
+ const char* tag; // pdfium::kFuncTag always.
const char* name;
FXJSE_FuncCallback callbackProc;
};
struct FXJSE_CLASS_DESCRIPTOR {
+ const char* tag; // pdfium::kClassTag always.
const char* name;
const FXJSE_FUNCTION_DESCRIPTOR* methods;
int32_t methNum;