On 06-02-2013 03:58, Alex Peshkoff wrote:
On 02/05/13 21:26, Leyne, Sean wrote:
With my 18+ years of using IB/FB I never ran into this issue, never
had to use a UDF with more than 5 params, so I was surprised by the error.
Is there a 'real' reason why there is a parameter limit? Or, is it a
Sean, currently code, calling UDF, looks this way
template typename T
T CALL_UDF(Jrd::Attachment* att, int (*entrypoint)(), UDF_ARG* args) {
Jrd::Attachment::Checkout attCout(att, FB_FUNCTION);
return ((T (*)(UDF_ARG, UDF_ARG, UDF_ARG, UDF_ARG, UDF_ARG,
UDF_ARG, UDF_ARG,