Skip to content

jextract jni/ffm modes alignment: make FFM wrapper func throw if integer overflow would happen #517

@ktoso

Description

@ktoso

Follow up to #460 which did this in JNI mode, but now the FFM mode does not do this so we have inconcistency between the modes.

We should probably move the check into Java BEFORE doing the downcall, rather than throwing from the swift thunk -- then the code can be shared betweeh the two modes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature:jextractIssues related to jextract-swift

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions