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.
9 lines
192 B
C
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;
|
|
}
|