Browse Source

Update mock class to latest changes in class system.

1.0.2
Georg Hopp 10 years ago
parent
commit
65e4710495
  1. 2
      tests/mock/mock_class.c
  2. 1
      tests/mock/mock_class.h

2
tests/mock/mock_class.c

@ -67,6 +67,6 @@ mockClone(void * _this, void * _base)
}
TR_INIT_IFACE(TR_Class, mockCtor, mockDtor, mockClone);
TR_CREATE_CLASS(MockClass, NULL, TR_IF(TR_Class));
TR_CREATE_CLASS(MockClass, NULL, NULL, TR_IF(TR_Class));
// vim: set et ts=4 sw=4:

1
tests/mock/mock_class.h

@ -36,6 +36,7 @@ void _reset();
TR_CLASS(MockClass) {
int value;
};
TR_CLASSVARS_DECL(MockClass) {};
/**
* ~~~ method declarations ~~~~~~~~

Loading…
Cancel
Save