From 348caba6e5d77d72d6f588f65deed9cfb9988a4f Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 8 Mar 2014 21:52:38 +0000 Subject: [PATCH] Add note about cplusplusout for nested_struct testcase --- Examples/test-suite/nested_structs.i | 1 + 1 file changed, 1 insertion(+) diff --git a/Examples/test-suite/nested_structs.i b/Examples/test-suite/nested_structs.i index 44ff994ba..f4f7a275a 100644 --- a/Examples/test-suite/nested_structs.i +++ b/Examples/test-suite/nested_structs.i @@ -33,6 +33,7 @@ int getInside1Val(struct Outer *n) { return n->inside1.val; } Below was causing problems in Octave as wrappers were compiled as C++. Solution requires regenerating the inner struct into the global C++ namespace (which is where it is intended to be in C). +See cparse_cplusplusout / Swig_cparse_cplusplusout in the Source. */ %inline %{ int nestedByVal(struct Named s);