gir.core icon indicating copy to clipboard operation
gir.core copied to clipboard

Support Returning primitive value type arrays

Open badcel opened this issue 1 year ago • 0 comments

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 avatar Sep 26 '24 17:09 badcel