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
|
|
@ -1,7 +1,7 @@
|
|||
// builder the *.so
|
||||
exec builder.sce;
|
||||
|
||||
//loader the *.so
|
||||
// loader the *.so
|
||||
exec loader.sce;
|
||||
|
||||
// Call our gcd() function
|
||||
|
|
@ -11,7 +11,7 @@ y = 105;
|
|||
g = gcd(x,y);
|
||||
printf("The gcd of %d and %d is %d\n",x,y,g);
|
||||
|
||||
//Manipulate the Foo global variable
|
||||
// Manipulate the Foo global variable
|
||||
|
||||
// Output its current value
|
||||
Foo_get()
|
||||
|
|
@ -19,6 +19,6 @@ Foo_get()
|
|||
// Change its value
|
||||
Foo_set(3.1415926)
|
||||
|
||||
//See if the change took effect
|
||||
// See if the change took effect
|
||||
Foo_get()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue