mirror of
https://github.com/meekrosoft/fff
synced 2026-01-23 00:15:59 +01:00
31 lines
762 B
C
31 lines
762 B
C
|
|
#ifndef GLOBAL_FAKES_H_
|
|
#define GLOBAL_FAKES_H_
|
|
|
|
#include "../fff.h"
|
|
|
|
|
|
//// Imaginary production code header file ///
|
|
void voidfunc1(int);
|
|
void voidfunc2(char, char);
|
|
long longfunc0();
|
|
void voidfunc3var(const char *fmt, int argc, ...);
|
|
|
|
enum MYBOOL { FALSE = 899, TRUE };
|
|
struct MyStruct {
|
|
int x;
|
|
int y;
|
|
};
|
|
enum MYBOOL enumfunc();
|
|
struct MyStruct structfunc();
|
|
//// End Imaginary production code header file ///
|
|
|
|
DECLARE_FAKE_VOID_FUNC1(voidfunc1, int);
|
|
DECLARE_FAKE_VOID_FUNC2(voidfunc2, char, char);
|
|
DECLARE_FAKE_VALUE_FUNC0(long, longfunc0);
|
|
DECLARE_FAKE_VALUE_FUNC0(enum MYBOOL, enumfunc0);
|
|
DECLARE_FAKE_VALUE_FUNC0(struct MyStruct, structfunc0);
|
|
DECLARE_FAKE_VOID_FUNC3_VARARG(voidfunc3var, const char *, int, ...);
|
|
|
|
#endif /* GLOBAL_FAKES_H_ */
|