Fix constructors in named typedef class declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c794d08597
commit
30206f975c
14 changed files with 86 additions and 38 deletions
|
|
@ -73,7 +73,7 @@ void NAME##_setitem(TYPE *ary, int index, TYPE value);
|
|||
typedef TYPE NAME;
|
||||
%}
|
||||
|
||||
typedef struct NAME {} NAME;
|
||||
typedef struct {} NAME;
|
||||
|
||||
%extend NAME {
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue