qt.cfg: Removed redundant semicolons and added support for QVERIFY2()-macro.
This commit is contained in:
parent
4ac1500c9f
commit
36669d8c72
|
@ -1279,8 +1279,9 @@
|
||||||
<define name="Q_Q(Class)" value="Class * const q = q_func()"/>
|
<define name="Q_Q(Class)" value="Class * const q = q_func()"/>
|
||||||
<define name="Q_RETURN_ARG(type, data)" value="QReturnArgument<type >(#type, data)"/>
|
<define name="Q_RETURN_ARG(type, data)" value="QReturnArgument<type >(#type, data)"/>
|
||||||
<define name="Q_UNUSED(X)" value="(void)X;"/>
|
<define name="Q_UNUSED(X)" value="(void)X;"/>
|
||||||
<define name="QCOMPARE(a,b)" value="assert( (a) == (b) );"/>
|
<define name="QCOMPARE(a,b)" value="assert( (a) == (b) )"/>
|
||||||
<define name="QVERIFY(expr)" value="assert( expr );"/>
|
<define name="QVERIFY(expr)" value="assert( expr )"/>
|
||||||
|
<define name="QVERIFY2(cond, msg)" value="assert( cond )"/>
|
||||||
<define name="foreach(A,B)" value="for(A:B)"/>
|
<define name="foreach(A,B)" value="for(A:B)"/>
|
||||||
<define name="emit(X)" value="(X)"/>
|
<define name="emit(X)" value="(X)"/>
|
||||||
<define name="Q_PLUGIN_METADATA(x)" value=""/>
|
<define name="Q_PLUGIN_METADATA(x)" value=""/>
|
||||||
|
|
Loading…
Reference in New Issue