Here is a function prototype in Plugin A:
Code:
public func(a,b,c[],{Float,Sql,Result,_}:...)
I would like to call this with a register_native native (that is registered in Plugin A) from Plugin B. I know that I can collect all of the arguments using native style 1 like this:
Code:
public func_native_handler(a,b,c[],{Float,Sql,Result,_}:...)
{
param_convert(3);
new i, argnum = numargs();
for(i=4;i<=argnum;i++) param_convert(i);
}
However, from here I need to make a direct call to "func" with all of these extra parameters, which could be of any variable type. I can't use vformat or anything and then send the condensed result into "func". The only thing that I could come up with was callfunc, except that I can't get the parameter types required for each specific native.
Any suggestions?
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS