summaryrefslogtreecommitdiff
path: root/Lib/scilab/scienum.swg
diff options
context:
space:
mode:
authorSimon Marchetto <simon.marchetto@scilab-enterprises.com>2014-07-09 18:32:52 +0200
committerSimon Marchetto <simon.marchetto@scilab-enterprises.com>2014-07-09 18:32:52 +0200
commit540973ee1dc23b33b9271557eb2326382337f8e5 (patch)
tree8b4cab19d57a4d0c1335192decd2c0e6dccb960c /Lib/scilab/scienum.swg
parent8fdb67cace5c908e514d6cb7a308e3b0da24effb (diff)
downloadswig-540973ee1dc23b33b9271557eb2326382337f8e5.tar.gz
scilab: code style: remove underscore in parameters (first part)
Diffstat (limited to 'Lib/scilab/scienum.swg')
-rw-r--r--Lib/scilab/scienum.swg12
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/scilab/scienum.swg b/Lib/scilab/scienum.swg
index 1a09a4785..af14cd6dc 100644
--- a/Lib/scilab/scienum.swg
+++ b/Lib/scilab/scienum.swg
@@ -8,11 +8,11 @@
}
%fragment("SWIG_Int_AsEnum", "header", fragment="SWIG_SciDoubleOrInt32_AsInt") {
SWIGINTERN int
-SWIG_Int_AsEnum(void *_pvApiCtx, int _iVar, int *_enumValue, char *_fname) {
+SWIG_Int_AsEnum(void *_pvApiCtx, int iVar, int *enumValue, char *_fname) {
int iValue = 0;
- if (SWIG_SciDoubleOrInt32_AsInt(_pvApiCtx, _iVar, &iValue, fname) != SWIG_OK)
+ if (SWIG_SciDoubleOrInt32_AsInt(_pvApiCtx, iVar, &iValue, fname) != SWIG_OK)
return SWIG_ERROR;
- *_enumValue = iValue;
+ *enumValue = iValue;
return SWIG_OK;
}
}
@@ -22,10 +22,10 @@ SWIG_Int_AsEnum(void *_pvApiCtx, int _iVar, int *_enumValue, char *_fname) {
}
%fragment("SWIG_Int_FromEnum", "header", fragment="SWIG_SciDouble_FromInt") {
SWIGINTERN int
-SWIG_Int_FromEnum(void *_pvApiCtx, int _iVarOut, int _enumValue, char *_fname) {
- if (SWIG_SciDouble_FromInt(_pvApiCtx, _iVarOut, _enumValue, fname) != SWIG_OK)
+SWIG_Int_FromEnum(void *_pvApiCtx, int iVarOut, int enumValue, char *_fname) {
+ if (SWIG_SciDouble_FromInt(_pvApiCtx, iVarOut, enumValue, fname) != SWIG_OK)
return SWIG_ERROR;
- SWIG_Scilab_SetOutput(_pvApiCtx, _iVarOut);
+ SWIG_Scilab_SetOutput(_pvApiCtx, iVarOut);
return SWIG_OK;
}
}