You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using fff to mock inputs to these embedded C functions and using gtest (C++ framework) to run test suites. Naturally, the embedded C code must be imported into gtest files using extern C. Is it ALSO necessary to guard things like DECLARE_FAKE_VOID_FUNC with extern C in this case? The project seems to compile either way so I'm curious if there's a best practice.
The text was updated successfully, but these errors were encountered:
I am using
fff
to mock inputs to these embedded C functions and usinggtest
(C++ framework) to run test suites. Naturally, the embedded C code must be imported intogtest
files usingextern C
. Is it ALSO necessary to guard things likeDECLARE_FAKE_VOID_FUNC
withextern C
in this case? The project seems to compile either way so I'm curious if there's a best practice.The text was updated successfully, but these errors were encountered: