add support for Enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4e9cbd8a7c
commit
ed84d6b162
19 changed files with 865 additions and 222 deletions
6
Examples/scilab/enum/example.h
Normal file
6
Examples/scilab/enum/example.h
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/* File : example.h */
|
||||
|
||||
typedef enum { RED, BLUE, GREEN } color;
|
||||
|
||||
void enum_test(color c);
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue