Skip to content

Fix PCRE2 FFI type declarations#16804

Open
kojix2 wants to merge 2 commits intocrystal-lang:masterfrom
kojix2:fix-libpcre2
Open

Fix PCRE2 FFI type declarations#16804
kojix2 wants to merge 2 commits intocrystal-lang:masterfrom
kojix2:fix-libpcre2

Conversation

@kojix2
Copy link
Copy Markdown
Contributor

@kojix2 kojix2 commented Apr 3, 2026

  • LibPCRE2::MatchContext is already used, but its creation/passing flow and call order are unchanged.
    • It is intended to be used as an opaque handle, not as a transparent pointer.
  • substring_nametable_scan is not used in the crystal codebase.

kojix2 added 2 commits April 3, 2026 10:05
MatchContext is already in use, but its creation/passing flow and call order are unchanged
@straight-shoota straight-shoota added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:text labels Apr 7, 2026
@straight-shoota straight-shoota added this to the 1.20.0 milestone Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:text

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants