class.h 497 Bytes
#ifndef __MOCK_CLASS_H__
#define __MOCK_CLASS_H__

#include "token/cclass.h"

extern char _called;

#ifndef _RESET
#define _RESET
void
inline
_reset()
{
    _called = 0;
}
#endif//_RESET


CLASS(MOCK_CLASS) {
    const _CCLASS const class;
    int value;
};

extern const _CCLASS const __MOCK_CLASS;

/**
 * ~~~ method declarations ~~~~~~~~
 */

int  mock_class_getValue(MOCK_CLASS _this);
void mock_class_setValue(MOCK_CLASS _this, int value);

#endif//__MOCK_CLASS_H__
// vim: set et ts=4 sw=4: