When passing more than two parameters to a function via JNI, we discovered that the values of the third and following parameters don't make any sense.
Using @_cdecl instead of @_silgen_name fixes this. This PR does some preventive maintenance in order to avoid future errors.
Please check if the PR fulfills these requirements
[x] Self-review: I am confident this is the simplest and clearest way to achieve the expected behaviour
[x] There are no dependencies on other PRs or I have linked dependencies through Zenhub
[x] The commit messages are clean and understandable
[ ] Tests for the changes have been added (for bug fixes / features)
Fixes #
Type of change:
Motivation (current vs expected behavior)
When passing more than two parameters to a function via JNI, we discovered that the values of the third and following parameters don't make any sense. Using
@_cdecl
instead of@_silgen_name
fixes this. This PR does some preventive maintenance in order to avoid future errors.Please check if the PR fulfills these requirements