Bare C function mocking utility. This is currently a work in progress and only works in very specific scenarios.
This project uses CMake to generate supported native build files.
- cmake .
- cmake --build . --config Debug
The main.cp shows a few examples, but basically something like this:
FunctionMocker mocker(testFunc, mockFunc);
testFunc(); // Will call mockFunc() instead