Skip to content

Foreign function interface out of date #15

@sebdumancic

Description

@sebdumancic

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions