[scilab] Fix to work on Windows
* Change the builder filename to match the loader filename * Mark extern functions with SWIGEXPORT * Fix bug: builder.sce not generated if with '-scilab -builder' option Fixes #1853
This commit is contained in:
parent
9efcc785ae
commit
31f7b437f4
3 changed files with 15 additions and 13 deletions
|
|
@ -434,7 +434,7 @@ SWIG_Scilab_NewMemberObj(void *pvApiCtx, int iVarOut, void *ptr, int sz, swig_ty
|
|||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
int SWIG_this(SWIG_GatewayParameters) {
|
||||
SWIGEXPORT int SWIG_this(SWIG_GatewayParameters) {
|
||||
void *ptrValue = NULL;
|
||||
if (SwigScilabPtrToObject(pvApiCtx, 1, &ptrValue, NULL, 0, fname) == SWIG_OK) {
|
||||
SWIG_Scilab_SetOutputPosition(1);
|
||||
|
|
@ -451,7 +451,7 @@ int SWIG_this(SWIG_GatewayParameters) {
|
|||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
int SWIG_ptr(SWIG_GatewayParameters) {
|
||||
SWIGEXPORT int SWIG_ptr(SWIG_GatewayParameters) {
|
||||
if (SWIG_NbInputArgument(pvApiCtx) > 0) {
|
||||
SciErr sciErr;
|
||||
int *piAddrVar1 = NULL;
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ SWIG_Scilab_TypeQuery(const char *name) {
|
|||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
int SWIG_<module>_Init(SWIG_GatewayParameters) {
|
||||
SWIGEXPORT int SWIG_<module>_Init(SWIG_GatewayParameters) {
|
||||
SWIG_InitializeModule(NULL);
|
||||
SWIG_CreateScilabVariables(pvApiCtx);
|
||||
swig_module_initialized = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue