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:
Marcelo Matus 2005-10-14 14:47:40 +00:00
commit 64a4f509bd

View file

@ -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
%}