cc-wrapper-test: Forgot to extern "C"
now that main is C++
This commit is contained in:
parent
f671b85fb2
commit
539dcb8e27
|
@ -32,7 +32,7 @@ let
|
|||
|
||||
#include <assert.h>
|
||||
|
||||
${toString (lib.genList (i: "extern unsigned int asdf_${toString i}(void); ") count)}
|
||||
${toString (lib.genList (i: "extern \"C\" unsigned int asdf_${toString i}(void); ") count)}
|
||||
|
||||
unsigned int (*funs[])(void) = {
|
||||
${toString (lib.genList (i: "asdf_${toString i},") count)}
|
||||
|
|
Loading…
Reference in a new issue