fixed %template within %extend, test added
fixed language symbol table nested classes name separator, test added fixed %feature "flatnested" working with %extend fixed Swig_offset_string for empty string added simple template to save/restore values in current scope (readability reasons)
This commit is contained in:
parent
8dba8b1fde
commit
b4fef06c42
12 changed files with 55 additions and 39 deletions
|
|
@ -167,10 +167,16 @@ struct Outer {
|
|||
///////////////////////////////////////////
|
||||
typedef struct InnerSameName {
|
||||
Integer x;
|
||||
struct InnerSameName2 {};
|
||||
} InnerSameName;
|
||||
|
||||
InnerSameName* makeInnerSameName() { return 0; }
|
||||
};
|
||||
#if defined(SWIGCSHARP) || defined (SWIGJAVA)
|
||||
// place a class with the same name as in Outer in global scope, to test language symbol table
|
||||
class InnerSameName {};
|
||||
class InnerSameName2 {};
|
||||
#endif
|
||||
%}
|
||||
|
||||
// Ignore nested struct instance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue