git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
22 lines
423 B
Scilab
22 lines
423 B
Scilab
// builder the *.so
|
|
exec builder.sce;
|
|
|
|
// loader the *.so
|
|
exec loader.sce;
|
|
|
|
exec example.sce;
|
|
|
|
// Print out the value of some enums
|
|
printf("*** color ***\n");
|
|
printf(" RED = %i\n", color.RED);
|
|
printf(" BLUE = %i\n", color.BLUE);
|
|
printf(" GREEN = %i\n", color.GREEN);
|
|
|
|
|
|
printf("\nTesting use of enums with functions\n");
|
|
|
|
enum_test(color.RED);
|
|
enum_test(color.BLUE);
|
|
enum_test(color.GREEN);
|
|
enum_test(1234);
|
|
|