Skip to content

Commit 061de31

Browse files
doc/pcre2api.3: 'constant' applies to the pointee; not pointer (#377)
That is, these are 'const PCRE2_UCHARn *', not 'PCRE2_UCHARn *const'. Also, use semantic newlines. See man-pages(7).
1 parent 7d59dde commit 061de31

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/pcre2api.3

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,10 +344,10 @@ There are also three different sets of data types:
344344
\fBPCRE2_UCHAR8, PCRE2_UCHAR16, PCRE2_UCHAR32\fP
345345
\fBPCRE2_SPTR8, PCRE2_SPTR16, PCRE2_SPTR32\fP
346346
.sp
347-
The UCHAR types define unsigned code units of the appropriate widths. For
348-
example, PCRE2_UCHAR16 is usually defined as `uint16_t'. The SPTR types are
349-
constant pointers to the equivalent UCHAR types, that is, they are pointers to
350-
vectors of unsigned code units.
347+
The UCHAR types define unsigned code units of the appropriate widths.
348+
For example, PCRE2_UCHAR16 is usually defined as `uint16_t'.
349+
The SPTR types are pointers to constants of the equivalent UCHAR types,
350+
that is, they are pointers to vectors of unsigned code units.
351351
.P
352352
Character strings are passed to a PCRE2 library as sequences of unsigned
353353
integers in code units of the appropriate width. The length of a string may

0 commit comments

Comments
 (0)