Scilab cosmetics
This commit is contained in:
parent
253c6e1163
commit
96c19872bd
1 changed files with 4 additions and 4 deletions
|
|
@ -1014,7 +1014,7 @@ public:
|
||||||
Printf(gatewayHeaderV6, "#ifdef __cplusplus\n");
|
Printf(gatewayHeaderV6, "#ifdef __cplusplus\n");
|
||||||
Printf(gatewayHeaderV6, "extern \"C\"\n");
|
Printf(gatewayHeaderV6, "extern \"C\"\n");
|
||||||
Printf(gatewayHeaderV6, "#endif\n");
|
Printf(gatewayHeaderV6, "#endif\n");
|
||||||
Printf(gatewayHeaderV6, "int %s(wchar_t* _pwstFuncName) {\n", gatewayLibraryName);
|
Printf(gatewayHeaderV6, "int %s(wchar_t *pwstFuncName) {\n", gatewayLibraryName);
|
||||||
Printf(gatewayHeaderV6, "\n");
|
Printf(gatewayHeaderV6, "\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1031,7 +1031,7 @@ public:
|
||||||
Printf(gatewayHeaderV5, ",\n");
|
Printf(gatewayHeaderV5, ",\n");
|
||||||
Printf(gatewayHeaderV5, " {(Myinterfun)sci_gateway, (GT)%s, (char *)\"%s\"}", wrapperFunctionName, scilabFunctionName);
|
Printf(gatewayHeaderV5, " {(Myinterfun)sci_gateway, (GT)%s, (char *)\"%s\"}", wrapperFunctionName, scilabFunctionName);
|
||||||
|
|
||||||
Printf(gatewayHeaderV6, "if (wcscmp(_pwstFuncName, L\"%s\") == 0) { addCFunction((wchar_t *)L\"%s\", &%s, (wchar_t *)MODULE_NAME); }\n", scilabFunctionName, scilabFunctionName, wrapperFunctionName);
|
Printf(gatewayHeaderV6, "if (wcscmp(pwstFuncName, L\"%s\") == 0) { addCFunction((wchar_t *)L\"%s\", &%s, (wchar_t *)MODULE_NAME); }\n", scilabFunctionName, scilabFunctionName, wrapperFunctionName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -----------------------------------------------------------------------
|
/* -----------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue