Skip to content

FFI: struct with an enum field passed by value is described to libffi with a void element - #25560

Open
DPDmancul wants to merge 1 commit into
php:PHP-8.4from
DPDmancul:fix/25558-ffi-enum-in-struct
Open

DPDmancul wants to merge 1 commit into
php:PHP-8.4from
DPDmancul:fix/25558-ffi-enum-in-struct

Conversation

@DPDmancul

Copy link
Copy Markdown

Fixes #25558

@ndossche

Copy link
Copy Markdown
Member

Thanks for your patch!
Please do the following changes to your PR:

  • Target branch PHP-8.4, as it is the lowest supported bugfix branch.
  • Please add a test as a phpt file

@DPDmancul
DPDmancul force-pushed the fix/25558-ffi-enum-in-struct branch from 8d3d45a to d6a64fb Compare November 24, 2026 22:47
@DPDmancul
DPDmancul changed the base branch from master to PHP-8.4 November 24, 2026 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FFI: struct with an enum field passed by value is described to libffi with a void element

2 participants