class.h 471 Bytes
#ifndef __MOCK_CLASS_H__
#define __MOCK_CLASS_H__

#include "token/cclass.h"


extern char _called;

extern void inline _reset();

struct MOCK_CLASS {
    const struct CCLASS * const class;
    int value;
};

extern const struct CCLASS * const MOCK_CLASS;

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

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

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