2019-06-08 20:38:32 -05:00
|
|
|
// 8 june 2019
|
|
|
|
#include "test.h"
|
|
|
|
|
2019-06-11 20:23:56 -05:00
|
|
|
struct testImplData {
|
2019-06-08 20:38:32 -05:00
|
|
|
bool initCalled;
|
|
|
|
bool *freeCalled;
|
|
|
|
bool testMethodCalled;
|
|
|
|
};
|
|
|
|
|
|
|
|
static bool testVtableInit(uiControl *c, void *implData, void *initData)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void testVtableFree(uiControl *c, void *implData)
|
|
|
|
{
|
|
|
|
// do nothing
|
|
|
|
}
|
|
|
|
|
2019-06-15 19:38:18 -05:00
|
|
|
const uiControlVtable dummyVtable = {
|
|
|
|
Size: sizeof (uiControlVtable),
|
|
|
|
Init: testVtableInit,
|
|
|
|
Free: testVtableFree,
|
2019-06-11 20:23:56 -05:00
|
|
|
};
|