PDL_GetNumJSParams
Description
Returns the number of parameters passed in a JavaScript invocation of a registered Plug-in handler function. Handler functions serve as interfaces between a JavaScript app and a Plug-in app. See "JavaScript and Plug-in Interface" for more information on how this works.
Syntax
int PDL_GetNumJSParams(PDL_JSParameters *params);
Argument | Description |
---|---|
params | Parameters from which to extract data. This is passed to the handler function and should simply be passed on here. This type's internals are hidden from the user. |
Returns
Number of parameters passed to Plug-in handler function.
See also:
- PDL_RegisterJSHandler
- PDL_JSRegistrationComplete
- PDL_GetJSParamDouble
- PDL_GetJSParamString
- PDL_GetJSParamInt
- PDL_JSException
- PDL_JSReply
- PDL_CallJS