コード例 #1
0
void TestImplementation::testMethodReturningVoid() {
#ifdef TEST_OLD_MACROS
    WRAPABLE_HND_FUNC(0, testMethodReturningVoid) // Magic number needs to match class definition
#else
    WRAPABLE_HND_FUNCTN(testMethodReturningVoid)
#endif
    testMethodReturningVoidCalls++;
}
コード例 #2
0
ファイル: cube.cpp プロジェクト: adrianobalani/compiz-2
void
CubeScreen::cubeGetRotation (float &x, float &v, float &progress)
{
    WRAPABLE_HND_FUNCTN (cubeGetRotation, x, v, progress)

    x        = 0.0f;
    v        = 0.0f;
    progress = 0.0f;
}
コード例 #3
0
void
TransformDamageScreen::transformDamage (CompRegion &region)
{
    WRAPABLE_HND_FUNCTN (transformDamage, region);
}