Skip to content

Add clang_getFileContents binding#45

Merged
bolt12 merged 4 commits into
mainfrom
bolt12-hs-bindgen/938
Mar 18, 2026
Merged

Add clang_getFileContents binding#45
bolt12 merged 4 commits into
mainfrom
bolt12-hs-bindgen/938

Conversation

@bolt12

@bolt12 bolt12 commented Mar 18, 2026

Copy link
Copy Markdown
Collaborator

@bolt12 bolt12 self-assigned this Mar 18, 2026
bolt12 added a commit to well-typed/hs-bindgen that referenced this pull request Mar 18, 2026
Uses ByteString.packCStringLen + decodeUtf8 to avoid an intermediate
[Char] linked list.
@bolt12
bolt12 force-pushed the bolt12-hs-bindgen/938 branch from d4a45f8 to 6a971ac Compare March 18, 2026 11:54
bolt12 added a commit to well-typed/hs-bindgen that referenced this pull request Mar 18, 2026
@bolt12 bolt12 linked an issue Mar 18, 2026 that may be closed by this pull request
Comment thread cbits/clang_wrappers_ffi.h Outdated
Comment thread src/Clang/LowLevel/Core.hs Outdated

@jorisdral jorisdral left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good :)

Comment thread src/Clang/LowLevel/Core.hs
Comment thread src/Clang/LowLevel/Core.hs Outdated

@edsko edsko left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to merge once we use unsafePackStringLen and the URL is fixed.

@bolt12
bolt12 enabled auto-merge March 18, 2026 16:02
@bolt12
bolt12 added this pull request to the merge queue Mar 18, 2026
Merged via the queue into main with commit cfbc67a Mar 18, 2026
11 checks passed
@bolt12
bolt12 deleted the bolt12-hs-bindgen/938 branch March 18, 2026 16:18
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.

Mirror Doxygen sections in Haskell export list

3 participants