Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Returning primitive value type arrays #1127

Open
badcel opened this issue Sep 26, 2024 · 0 comments
Open

Support Returning primitive value type arrays #1127

badcel opened this issue Sep 26, 2024 · 0 comments

Comments

@badcel
Copy link
Member

badcel commented Sep 26, 2024

PrimitiveValueTypeArrays should at least implemented via those converters:

  • PrimitiveValueTypeArray
  • LongArray
  • ULongArray
  • CLongArray
  • CULongArray

For all return values there should be support for:

  • Pointed arrays
  • Unpointed arrays

Ownership transfer should support:

  • Full transfer
  • No transfer

It is not clear how important it is to support the return of primitive value type arrays. Currently there is only limited support for pointed arrays which are returned as IntPtr in the public API.

@badcel badcel modified the milestone: 0.7.0 Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant