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

Remove extern "C" from fake declarations.

Assuming your C interfaces are appropriately wrapped for C++, it is
unnecessary to force the fakes to be declared extern "C", and doing so
causes any functions declared with C++ linkage to be impossible to fake
due to the conflicting linkage declarations.
This commit is contained in:
Michael Hansen
2018-05-09 13:25:42 -07:00
parent ef24c19e64
commit b8f9e65387
4 changed files with 4808 additions and 5105 deletions

View File

@@ -1,6 +1,7 @@
extern "C"{
#include "driver.h"
#include "registers.h"
#include "hardware_abstraction.h"
}
#include "../../fff.h"
#include <gtest/gtest.h>