hi, jules
How are you?
I am doing a small plugin derived from your browser plugin demo.
I meet two problems.
- In Variant class, the maximum num parameters in API is 4, however, I need 5 parameters . Shall I add one function to variant class for 5 parameters input?
const var var::call (const var::identifier& method, const var& arg1, const var& arg2, const var& arg3, const var& arg4, const var& arg5) const
{
var args[] = { arg1, arg2, arg3, arg4 ,arg5};
return invoke (method, args, 5);
}
- I want to use data type long, in variant class, it does not support this type. Shall I add long to variant class? How can I do it?
I am not sure if these two modifications will work or not. Could you please give me some suggestions?
Thanks!
Leon
