Scilab: enum example is consistent with other languages

This commit is contained in:
Simon Marchetto 2013-09-06 15:42:31 +02:00
commit 91e4114827
4 changed files with 10 additions and 38 deletions

View file

@ -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"