Skip to content

Conversation

@NWilson
Copy link
Member

@NWilson NWilson commented Oct 30, 2025

Follow-up to #835

the PCRE2 version string, zero-terminated. The number of code units used is
returned. This is the length of the string plus one unit for the terminating
zero.
The <i>where</i> argument should point to a PCRE2_UCHAR-aligned buffer. All
Copy link
Contributor

Choose a reason for hiding this comment

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

usually we spell out what is meant by sizeof(PCRE2_UCHAR) explicitly in the documentation by saying "the 16-nit and 32-bit" libraries require that the buffer be aligned to...

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you. I have tweaked the wording

size sizeof(where) or 0 to ask for the buffer to be allocated
Returns: the string where the data was written
Returns: a buffer which must be freed by the caller
Copy link
Contributor

Choose a reason for hiding this comment

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

.. where the data was written

@NWilson NWilson merged commit 91606be into master Nov 1, 2025
30 of 32 checks passed
@NWilson NWilson deleted the user/niwilson/more-config-str branch November 1, 2025 09:30
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.

3 participants