Add note about cplusplusout for nested_struct testcase

This commit is contained in:
William S Fulton 2014-03-08 21:52:38 +00:00
commit 348caba6e5

View file

@ -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++. Below was causing problems in Octave as wrappers were compiled as C++.
Solution requires regenerating the inner struct into Solution requires regenerating the inner struct into
the global C++ namespace (which is where it is intended to be in C). the global C++ namespace (which is where it is intended to be in C).
See cparse_cplusplusout / Swig_cparse_cplusplusout in the Source.
*/ */
%inline %{ %inline %{
int nestedByVal(struct Named s); int nestedByVal(struct Named s);