Scilab: enum example is consistent with other languages
This commit is contained in:
parent
06617dbd0b
commit
91e4114827
4 changed files with 10 additions and 38 deletions
|
|
@ -3,11 +3,11 @@
|
|||
|
||||
%{
|
||||
#include "example.h"
|
||||
#include "scilabconst_example.h"
|
||||
%}
|
||||
|
||||
/* Forces to wrap enums as Scilab variables (instead of functions) */
|
||||
%scilabconst(1);
|
||||
|
||||
%include "example.h"
|
||||
|
||||
%scilabconst(1);
|
||||
|
||||
%include "scilabconst_example.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue