Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qv4alloca_p.h File Reference

(0dc4fd240a2897c5c443a0ef6d84c416843e4938)

#include <QtCore/private/qglobal_p.h>
#include <stdlib.h>
+ Include dependency graph for qv4alloca_p.h:

Go to the source code of this file.

Classes

class  Qt_AllocaWrapper
 

Macros

#define Q_ALLOCA_VAR(type, name, size)
 
#define Q_ALLOCA_DECLARE(type, name)
 
#define Q_ALLOCA_ASSIGN(type, name, size)
 

Macro Definition Documentation

◆ Q_ALLOCA_ASSIGN

#define Q_ALLOCA_ASSIGN ( type,
name,
size )
Value:
do { \
_qt_alloca_##name.allocate(size); \
name = static_cast<type*>(_qt_alloca_##name.data()); \
} while (false)
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum type
GLuint name

Definition at line 66 of file qv4alloca_p.h.

Referenced by QV4::coerceAndCall(), QV4::convertAndCall(), and QV4::QQmlValueTypeWrapper::write().

◆ Q_ALLOCA_DECLARE

#define Q_ALLOCA_DECLARE ( type,
name )
Value:
Qt_AllocaWrapper _qt_alloca_##name; \
type *name = nullptr

Definition at line 62 of file qv4alloca_p.h.

Referenced by QV4::coerceAndCall(), QV4::convertAndCall(), and QV4::QQmlValueTypeWrapper::write().

◆ Q_ALLOCA_VAR