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

Improve byte array and callback support #851

Merged
merged 1 commit into from
Jul 6, 2023
Merged

Conversation

badcel
Copy link
Member

@badcel badcel commented Apr 9, 2023

  • I agree that my contribution may be licensed either under MIT or any version of LGPL license.

Part of #763

  • create a sample which returns an array via the return value
  • create a sample with caller allocates = true and an out array
  • Add a test for byte arrays in callbacks similar to PixbufSaveFunc
  • Add a test for byte arrays in callbacks without length similar to PixbufDestroyNotify
  • Support pointed primitive value types for callbacks.
  • Support pointed primitive value type parameters for methods.
  • Add test for byte array from const pointer
  • Support out pointer in callbacks
  • Support callbacks with error parameter / throws attribute
  • Support callbacks with callbacks with an error parameter
  • Support error paramters in callbacks that are not the last parameter of the function signature
  • Support error parameters in callbacks of callbacks that are not the last parameter of the function signature
  • Support pointer parameters
  • Support aliases for pointers
  • Support aliases for primitive value type return values in callbacks
  • Support callbacks that return instances of classes
  • Support callbacks that return instances of interfaces
  • Support out pointed primitive value types in callbacks
  • Support callbacks containing a pointed primitive value type alias parameter with direction "in".
  • Support methods containing a pointed primitive value type alias parameter with direction "in"
  • Generalize byte array support to all primitive value types
  • copy byte array tests and convert to integer array to verify generalizations.
  • Support inout primitive value type arrays

@badcel badcel force-pushed the improve-byte-array-support branch 7 times, most recently from d3024b4 to 63aa096 Compare April 17, 2023 14:55
@badcel badcel force-pushed the improve-byte-array-support branch 3 times, most recently from 266d0ef to 78c980a Compare April 19, 2023 19:42
@badcel badcel force-pushed the improve-byte-array-support branch from 78c980a to 98336b6 Compare April 25, 2023 20:12
@badcel badcel force-pushed the improve-byte-array-support branch 16 times, most recently from 2610904 to 43b3b2a Compare May 10, 2023 20:06
@badcel badcel force-pushed the improve-byte-array-support branch 3 times, most recently from 8129e81 to 7079963 Compare May 17, 2023 20:49
@badcel badcel force-pushed the improve-byte-array-support branch 3 times, most recently from 5770163 to 1a677fe Compare May 23, 2023 20:39
@badcel badcel force-pushed the improve-byte-array-support branch 3 times, most recently from 5adb181 to dc973a7 Compare June 12, 2023 19:19
@badcel badcel force-pushed the improve-byte-array-support branch 4 times, most recently from 25c4490 to 4c35282 Compare June 17, 2023 20:06
@badcel badcel force-pushed the improve-byte-array-support branch 4 times, most recently from 2ace546 to 6e0efe6 Compare June 29, 2023 19:22
@badcel badcel marked this pull request as ready for review June 29, 2023 19:32
@badcel badcel marked this pull request as draft June 29, 2023 19:33
@badcel badcel force-pushed the improve-byte-array-support branch 2 times, most recently from b50e3e7 to 3c1a30d Compare July 4, 2023 20:59
@badcel badcel marked this pull request as ready for review July 4, 2023 21:12
@badcel badcel force-pushed the improve-byte-array-support branch from 3c1a30d to 691496f Compare July 4, 2023 21:13
@badcel badcel changed the title Improve byte array support Improve byte array and callback support Jul 4, 2023
@badcel badcel force-pushed the improve-byte-array-support branch 2 times, most recently from 6e3f8f0 to dad05cb Compare July 4, 2023 22:22
@badcel badcel force-pushed the improve-byte-array-support branch from dad05cb to 9cec23f Compare July 6, 2023 19:28
@badcel badcel merged commit 26a183d into main Jul 6, 2023
@badcel badcel deleted the improve-byte-array-support branch July 6, 2023 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant