adding more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7652 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
eb4f07711e
commit
64a4f509bd
1 changed files with 20 additions and 2 deletions
|
|
@ -1,9 +1,27 @@
|
|||
%module typedef_struct
|
||||
|
||||
%inline {
|
||||
%inline %{
|
||||
typedef struct {
|
||||
int numpoints;
|
||||
} lineObj;
|
||||
|
||||
typedef lineObj multipointObj;
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
#ifdef SWIG
|
||||
%immutable;
|
||||
#endif
|
||||
char *filename;
|
||||
int numfonts;
|
||||
#ifdef SWIG
|
||||
%mutable;
|
||||
#endif
|
||||
int* fonts;
|
||||
#ifndef SWIG
|
||||
void* map;
|
||||
#endif
|
||||
} fontSetObj;
|
||||
|
||||
#define MS_NOOVERRIDE -1111
|
||||
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue