1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include <string.h> #include "cpptest.h" #include "testtype.h" TestType_ *newTestType() { return new TestType(); } int plainTestTypeN(PlainTestType_ *plain) { return static_cast<PlainTestType *>(plain)->n; }