From: SourceForge.net <no...@so...> - 2011-03-30 09:47:48
|
Bugs item #3259800, was opened at 2011-03-30 09:47 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=3259800&group_id=1645 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: code generation (general) Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: Ignore isn't working for nested struct fields Initial Comment: 1. Create following files test.h: struct S1 { struct { int i1, i2; struct { int i3, i4; } s2; } variant; }; test.i: %immutable; %ignore S1::variant::s2; %ignore S1_variant::s2; %ignore S1_variant_s2; %{ #include "test.h" %} %include "test.h" 2. Run swig: swig -java -module test test.i Expected result: Only S1::variant::i1 and S1::variant::i2 are wrapped. Actual result: S1::variant::s2 is also wrapped. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=3259800&group_id=1645 |