Hi,
could you update the information of the foreign function interface?
If I understand correctly, since 8.2.0 version, PL_register_foreign takes a function with the return with pl_function_t instead of foreign_t. The documentation and tests (here) do not reflect that change.
I would appreciate if you could give a small example of the correct usage. I tried to modify the hello example you provide, but unsuccessfully.
Thank you!
Hi,
could you update the information of the foreign function interface?
If I understand correctly, since 8.2.0 version,
PL_register_foreigntakes a function with the return withpl_function_tinstead offoreign_t. The documentation and tests (here) do not reflect that change.I would appreciate if you could give a small example of the correct usage. I tried to modify the
helloexample you provide, but unsuccessfully.Thank you!