nested_extend_c testcase fix when compiled by C++ target languages

Javascript v8 and node compiles the wrappers as C++, fix this warning:
anonymous type with no linkage used to declare variable ‘<anonymous struct> THING’ with linkage
This commit is contained in:
William S Fulton 2015-02-10 07:18:20 +00:00
commit ed084f30f2

View file

@ -95,7 +95,7 @@ typedef struct {
} bar;
} FOO;
struct {
static struct {
int i;
} THING;
%}