Hi all,

I am trying to use the following patten from MAL[1] 

pattern eval(fptr:ptr,cpp:bit,expr:str,arg:any...):any...

However, I am not sure how I should create the first parameter <fptr:ptr> from MAL. I am just trying to be able to call a C-UDF from MAL. From capi.c, it would seem that it is the client's context but I don't know how to get a handle of that.
Any pointers are highly appreciated.

Thanks!

Renato M.
[1] https://github.com/MonetDB/MonetDB/blob/2310e49a349ebcb8ff5b5c585928c8f4bd19b2fb/sql/backends/monet5/UDF/capi/capi.mal#L14