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
cjs_globalconsts.cpp File Reference

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

#include "fxjs/cjs_globalconsts.h"
#include "fxjs/fxv8.h"
+ Include dependency graph for cjs_globalconsts.cpp:

Go to the source code of this file.

Macros

#define GLOBAL_STRING(rt, name, value)
 

Macro Definition Documentation

◆ GLOBAL_STRING

#define GLOBAL_STRING ( rt,
name,
value )
Value:
(rt)->DefineGlobalConst( \
(name), [](const v8::FunctionCallbackInfo<v8::Value>& info) { \
info.GetReturnValue().Set( \
fxv8::NewStringHelper(info.GetIsolate(), (value))); \
})
EGLImageKHR EGLint * name
v8::Local< v8::String > NewStringHelper(v8::Isolate *pIsolate, ByteStringView str)
Definition fxv8.cpp:83
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
QHostInfo info
[0]

Definition at line 11 of file cjs_globalconsts.cpp.