Don't try to export variables in namespace scope directly

The generated code, which used C++ scope operator "::" in a C header, didn't
compile and couldn't work anyhow.

Just use the accessor functions for not really global variables.
This commit is contained in:
Vadim Zeitlin 2016-04-20 23:52:32 +02:00
commit 2ec9d9da6e
2 changed files with 11 additions and 6 deletions

View file

@ -57,7 +57,6 @@ FAILING_CPP_TESTS := \
class_ignore \
class_scope_weird \
constant_pointers \
cpp_namespace \
cpp_typedef \
c_backend_cpp_natural_std_string \
c_backend_cpp_exception \