#include <QtCore/qcompilerdetection.h>
#include <QtCore/qtconfigmacros.h>
#include <type_traits>
Go to the source code of this file.
◆ ACTION_IF_DELETED
#define ACTION_IF_DELETED |
( |
|
p, |
|
|
|
func, |
|
|
|
action |
|
) |
| |
Value:do { \
QT_WARNING_PUSH \
ACTION_IF_DISABLE_DANGLING_POINTER_WARNING \
static_assert(std::is_same<
decltype((
p)->m_selfDeletable),
SelfDeletable>
::value,
"m_selfDeletable must be SelfDeletable");\
bool *prevWasDeleted = (
p)->m_selfDeletable.m_wasDeleted; \
bool wasDeleted = false; \
(
p)->m_selfDeletable.m_wasDeleted = &wasDeleted; \
if (wasDeleted) { \
if (prevWasDeleted) \
*prevWasDeleted = true; \
{action;} \
} \
(
p)->m_selfDeletable.m_wasDeleted = prevWasDeleted; \
} while (false)
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
Definition at line 45 of file qanimationjobutil_p.h.
◆ ACTION_IF_DISABLE_DANGLING_POINTER_WARNING
#define ACTION_IF_DISABLE_DANGLING_POINTER_WARNING |
◆ RETURN_IF_DELETED
◆ QT_REQUIRE_CONFIG()
QT_REQUIRE_CONFIG |
( |
qml_animation |
| ) |
|