Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
jse_define.h File Reference

(9c1f44f67466fea2fb20bb6f31fea388d8c65961)

#include <vector>
#include "fxjs/cjs_result.h"
#include "third_party/base/containers/span.h"
+ Include dependency graph for jse_define.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define JSE_METHOD(method_name)
 
#define JSE_PROP(prop_name)
 

Macro Definition Documentation

◆ JSE_METHOD

#define JSE_METHOD ( method_name)
Value:
static CJS_Result method_name##_static( \
CJX_Object* node, CFXJSE_Engine* runtime, \
pdfium::span<v8::Local<v8::Value>> params) { \
if (!node->DynamicTypeIs(static_type__)) \
return static_cast<Type__*>(node)->method_name(runtime, params); \
} \
CJS_Result method_name(CFXJSE_Engine* runtime, \
pdfium::span<v8::Local<v8::Value>> params)
static CJS_Result Failure(const WideString &str)
Definition cjs_result.h:31
virtual bool DynamicTypeIs(TypeTag eType) const
GLvoid ** params

Definition at line 17 of file jse_define.h.

◆ JSE_PROP

#define JSE_PROP ( prop_name)
Value:
static void prop_name##_static(v8::Isolate* pIsolate, CJX_Object* node, \
v8::Local<v8::Value>* value, bool setting, \
if (node->DynamicTypeIs(static_type__)) \
static_cast<Type__*>(node)->prop_name(pIsolate, value, setting, \
} \
void prop_name(v8::Isolate* pIsolate, v8::Local<v8::Value>* pValue, \
bool bSetting, XFA_Attribute eAttribute)
XFA_Attribute
Definition fxfa_basic.h:67
EGLOutputLayerEXT EGLint attribute
EGLOutputLayerEXT EGLint EGLAttrib value
[5]

Definition at line 28 of file jse_define.h.