[Scilab-users] Difference between pvApiCtx and scilabEnv
Shamika Mohanan
shamika.i.nair at gmail.com
Wed Jul 12 16:40:27 CEST 2017
Hello,
I'm using Scilab 6.0.0 API. What is the difference between pvApiCtx and
scilabEnv? When I compile C++ code on Scilab 6.0.0 using pvApiCtx, I get
the following error-
error: 'pvApiCtx' was not declared in this scope
int z=nbInputArgument(pvApiCtx);
^
/home/scilab-6.0.0/share/scilab/../../include/scilab/api_stack_common.h:64:53:
note: in definition of macro 'nbInputArgument'
#define nbInputArgument(PVCTX) (*getNbInputArgument(PVCTX))
If I replace pvApiCtx with scilabEnv, I get the following error-
/home/scilab-6.0.0/share/scilab/../../include/scilab/api_stack_common.h:64:58:
error: expected primary-expression before ')' token
#define nbInputArgument(PVCTX) (*getNbInputArgument(PVCTX))
How do I resolve this error for Scilab 6.0.0?
Regards,
Shamika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170712/5f464308/attachment.htm>
More information about the users
mailing list