swig/Examples/test-suite/c/cpp_basic_global_var_class_runme.c
Vadim Zeitlin c8e4abd16e Use wrapper functions for global variables of non-C types
Don't try to export the variables whose type can't be represented in C
directly, this can't work.

Instead, just let use the default implementation to generate wrapper functions
for them.

Update "cpp_basic_global_var_class" unit test accordingly and remove it from
the list of the failing tests.
2016-04-20 18:45:42 +02:00

9 lines
192 B
C

#include <assert.h>
#include "cpp_basic_global_var_class/cpp_basic_global_var_class_wrap.h"
int main(int argc, const char *argv[])
{
assert(myGlobalClassInstance_get());
return 0;
}