1
0
mirror of https://github.com/meekrosoft/fff synced 2026-01-23 00:15:59 +01:00

Add support for custom_fake function signatures

Update the generator to include a check for CUSTOM_FFF_FUNCTION_TEMPLATE.
If not present it will default to the C style function pointer.
Alternatively, developers may define their own version of the template to
leverage std::function or pw:Function (from the embedded Pigweed library).

Signed-off-by: Yuval Peress <peress@google.com>
This commit is contained in:
Yuval Peress
2022-08-11 11:34:53 -06:00
parent 1f6a3c8331
commit 2cce6b0fc8
3 changed files with 268 additions and 235 deletions

412
fff.h

File diff suppressed because it is too large Load Diff