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