Skip to content

[ feat ] add support for C unions#3789

Open
tzemanovic wants to merge 3 commits into
idris-lang:mainfrom
tzemanovic:add-ffi-union
Open

[ feat ] add support for C unions#3789
tzemanovic wants to merge 3 commits into
idris-lang:mainfrom
tzemanovic:add-ffi-union

Conversation

@tzemanovic
Copy link
Copy Markdown
Contributor

@tzemanovic tzemanovic commented May 30, 2026

Description

Hi, I'd like to add support in FFI for C unions. This PR adds support in Chez codegen only, covered by a newly added test. I updated the FFI docs, though it's quite brief. Do let me know if you'd like me to expand it a bit :)

Self-check

  • If this is a fix, user-facing change, a compiler change, or a new paper
    implementation, I have updated CHANGELOG_NEXT.md
  • I confirm that this contribution did not involve GenerativeAI nor Large Language Models.

@tzemanovic tzemanovic marked this pull request as ready for review June 2, 2026 19:33
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

Successfully merging this pull request may close these issues.

1 participant