Scilab: SWIG_Init() used in C++ mode only
This commit is contained in:
parent
f7b67980e6
commit
d85cc8b796
1 changed files with 4 additions and 2 deletions
|
|
@ -176,8 +176,10 @@ public:
|
||||||
|
|
||||||
Printf(builderCode, "table = [");
|
Printf(builderCode, "table = [");
|
||||||
|
|
||||||
/* Add initialization function to builder table */
|
/* In C++ mode, add initialization function to builder table */
|
||||||
Printf(builderCode, "\"%s\",\"%s\";", SWIG_INIT_FUNCTION_NAME, SWIG_INIT_FUNCTION_NAME);
|
if (CPlusPlus) {
|
||||||
|
Printf(builderCode, "\"%s\",\"%s\";", SWIG_INIT_FUNCTION_NAME, SWIG_INIT_FUNCTION_NAME);
|
||||||
|
}
|
||||||
|
|
||||||
/* Emit code for children */
|
/* Emit code for children */
|
||||||
if (CPlusPlus) {
|
if (CPlusPlus) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue