namespace NS {
struct C {};
extern C* global_var;
}
produces the following error when compiling the generated wrapper
libTestVarField/src/jlTestVarField.cxx:241:38: error: unknown type name 'C'; did you mean 'NS::C'?
t.method("NS!global_var", []()-> C * { return NS::global_var; });
^
NS::C
./A.h:33:10: note: 'NS::C' declared here
struct C {};
^
The following code
produces the following error when compiling the generated wrapper
I think is similar to the error in https://github.com/grasph/wrapit/issues/36#issuecomment-1819437160