Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qv4engine_p.h File Reference
#include <private/qintrusivelist_p.h>
#include <private/qqmldelayedcallqueue_p.h>
#include <private/qqmlrefcount_p.h>
#include <private/qv4compileddata_p.h>
#include <private/qv4context_p.h>
#include <private/qv4enginebase_p.h>
#include <private/qv4executablecompilationunit_p.h>
#include <private/qv4function_p.h>
#include <private/qv4global_p.h>
#include <private/qv4stacklimits_p.h>
#include <QtCore/qelapsedtimer.h>
#include <QtCore/qmutex.h>
#include <QtCore/qprocessordetection.h>
#include <QtCore/qset.h>
+ Include dependency graph for qv4engine_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QQmlV4Function
 
struct  QV4::ExecutionEngine
 
class  QV4::ExecutionEngine::ScarceResourceData
 
struct  QV4::ExecutionEngine::Deletable
 
struct  QV4::ExecutionEngine::Module
 
struct  QV4::ExecutionEngineCallDepthRecorder< Frames >
 

Namespaces

namespace  WTF
 
namespace  QV4
 \qmltype Particle \inqmlmodule QtQuick.Particles
 
namespace  QV4::Debugging
 
namespace  QV4::Profiling
 
namespace  QV4::CompiledData
 
namespace  QV4::Heap
 
namespace  QV4::Promise
 

Macros

#define V4_DEFINE_EXTENSION(dataclass, datafunction)
 
#define CHECK_STACK_LIMITS(v4)
 

Functions

 QV4::Q_DECLARE_OPERATORS_FOR_FLAGS (ExecutionEngine::DiskCacheOptions)
 

Macro Definition Documentation

◆ CHECK_STACK_LIMITS

#define CHECK_STACK_LIMITS (   v4)
Value:
if (v4->checkStackLimits()) \
return Encode::undefined(); \
ExecutionEngineCallDepthRecorder _executionEngineCallDepthRecorder(v4);

Definition at line 873 of file qv4engine_p.h.

◆ V4_DEFINE_EXTENSION

#define V4_DEFINE_EXTENSION (   dataclass,
  datafunction 
)
Value:
static inline dataclass *datafunction(QV4::ExecutionEngine *engine) \
{ \
static int extensionId = -1; \
if (extensionId == -1) { \
QV4::ExecutionEngine::registrationMutex()->lock(); \
if (extensionId == -1) \
QV4::ExecutionEngine::registrationMutex()->unlock(); \
} \
dataclass *rv = (dataclass *)engine->extensionData(extensionId); \
if (!rv) { \
rv = new dataclass(engine); \
engine->setExtensionData(extensionId, rv); \
} \
return rv; \
} \
QJSEngine engine
[0]
static int registerExtension()

Definition at line 38 of file qv4engine_p.h.