cc-wrapper-test: Forgot to extern "C" now that main is C++

This commit is contained in:
John Ericson 2017-07-27 14:15:10 -04:00 committed by John Ericson
parent f671b85fb2
commit 539dcb8e27

View file

@ -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)}