Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qv4alloca_p.h File Reference
#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.

◆ 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.

◆ Q_ALLOCA_VAR

#define Q_ALLOCA_VAR (   type,
  name,
  size 
)
Value:
Q_ALLOCA_ASSIGN(type, name, size)
#define Q_ALLOCA_DECLARE(type, name)
Definition qv4alloca_p.h:62

Definition at line 36 of file qv4alloca_p.h.