mirror of
https://github.com/meekrosoft/fff
synced 2026-01-29 19:24:28 +01:00
Add example for the weak linking
This commit is contained in:
11
examples/weak_linking/test/bus.fake.h
Normal file
11
examples/weak_linking/test/bus.fake.h
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
|
||||
#ifndef _AUTOMOCK_BUS_H
|
||||
#define _AUTOMOCK_BUS_H
|
||||
|
||||
#include "fff.h"
|
||||
#include "bus.h"
|
||||
|
||||
DECLARE_FAKE_VALUE_FUNC( bool, bus_read_write, uint8_t, uint8_t, uint8_t*, int, bool );
|
||||
DECLARE_FAKE_VALUE_FUNC( bool, bus_write, uint8_t, uint8_t, const uint8_t*, int, bool );
|
||||
#endif // _AUTOMOCK_BUS_H
|
||||
Reference in New Issue
Block a user