/[pcre]/code/trunk/doc/pcre16.3
ViewVC logotype

Diff of /code/trunk/doc/pcre16.3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 858 by ph10, Sun Jan 8 17:55:38 2012 UTC revision 859 by ph10, Mon Jan 9 17:43:54 2012 UTC
# Line 53  PCRE - Perl-compatible regular expressio Line 53  PCRE - Perl-compatible regular expressio
53  .ti +5n  .ti +5n
54  .B int \fIstringcount\fP, PCRE_SPTR16 \fIstringname\fP,  .B int \fIstringcount\fP, PCRE_SPTR16 \fIstringname\fP,
55  .ti +5n  .ti +5n
56  .B PCRE_SCHAR16 *\fIbuffer\fP, int \fIbuffersize\fP);  .B PCRE_UCHAR16 *\fIbuffer\fP, int \fIbuffersize\fP);
57  .PP  .PP
58  .B int pcre16_copy_substring(PCRE_SPTR16 \fIsubject\fP, int *\fIovector\fP,  .B int pcre16_copy_substring(PCRE_SPTR16 \fIsubject\fP, int *\fIovector\fP,
59  .ti +5n  .ti +5n
60  .B int \fIstringcount\fP, int \fIstringnumber\fP, PCRE_SCHAR16 *\fIbuffer\fP,  .B int \fIstringcount\fP, int \fIstringnumber\fP, PCRE_UCHAR16 *\fIbuffer\fP,
61  .ti +5n  .ti +5n
62  .B int \fIbuffersize\fP);  .B int \fIbuffersize\fP);
63  .PP  .PP
# Line 75  PCRE - Perl-compatible regular expressio Line 75  PCRE - Perl-compatible regular expressio
75  .PP  .PP
76  .B int pcre16_get_stringtable_entries(const pcre16 *\fIcode\fP,  .B int pcre16_get_stringtable_entries(const pcre16 *\fIcode\fP,
77  .ti +5n  .ti +5n
78  .B PCRE_SPTR16 \fIname\fP, PCRE_SCHAR16 **\fIfirst\fP, PCRE_SCHAR16 **\fIlast\fP);  .B PCRE_SPTR16 \fIname\fP, PCRE_UCHAR16 **\fIfirst\fP, PCRE_UCHAR16 **\fIlast\fP);
79  .PP  .PP
80  .B int pcre16_get_substring(PCRE_SPTR16 \fIsubject\fP, int *\fIovector\fP,  .B int pcre16_get_substring(PCRE_SPTR16 \fIsubject\fP, int *\fIovector\fP,
81  .ti +5n  .ti +5n
# Line 137  PCRE - Perl-compatible regular expressio Line 137  PCRE - Perl-compatible regular expressio
137  .SH "PCRE 16-BIT API 16-BIT-ONLY FUNCTION"  .SH "PCRE 16-BIT API 16-BIT-ONLY FUNCTION"
138  .rs  .rs
139  .sp  .sp
140  .B int pcre16_utf16_to_host_byte_order(PCRE_SCHAR16 *\fIoutput\fP,  .B int pcre16_utf16_to_host_byte_order(PCRE_UCHAR16 *\fIoutput\fP,
141  .ti +5n  .ti +5n
142  .B PCRE_SPTR16 \fIinput\fP, int \fIlength\fP, int *\fIbyte_order\fP,  .B PCRE_SPTR16 \fIinput\fP, int \fIlength\fP, int *\fIbyte_order\fP,
143  .ti +5n  .ti +5n
# Line 187  application that uses PCRE. Line 187  application that uses PCRE.
187  .sp  .sp
188  In the 8-bit library, strings are passed to PCRE library functions as vectors  In the 8-bit library, strings are passed to PCRE library functions as vectors
189  of bytes with the C type "char *". In the 16-bit library, strings are passed as  of bytes with the C type "char *". In the 16-bit library, strings are passed as
190  vectors of unsigned 16-bit quantities. The macro PCRE_SCHAR16 specifies an  vectors of unsigned 16-bit quantities. The macro PCRE_UCHAR16 specifies an
191  appropriate data type, and PCRE_SPTR16 is defined as "const PCRE_SCHAR16 *". In  appropriate data type, and PCRE_SPTR16 is defined as "const PCRE_UCHAR16 *". In
192  very many environments, "short int" is a 16-bit data type. When PCRE is built,  very many environments, "short int" is a 16-bit data type. When PCRE is built,
193  it defines PCRE_SCHAR16 as "short int", but checks that it really is a 16-bit  it defines PCRE_UCHAR16 as "short int", but checks that it really is a 16-bit
194  data type. If it is not, the build fails with an error message telling the  data type. If it is not, the build fails with an error message telling the
195  maintainer to modify the definition appropriately.  maintainer to modify the definition appropriately.
196  .  .
# Line 224  The \fIinput\fP and \fIoutput\fP argumen Line 224  The \fIinput\fP and \fIoutput\fP argumen
224  conversion in place is supported. The output buffer must be at least as long as  conversion in place is supported. The output buffer must be at least as long as
225  the input.  the input.
226  .P  .P
227  The \fIlength\fP argument of specifies the number of 16-bit data units in the  The \fIlength\fP argument specifies the number of 16-bit data units in the
228  input string; a negative value specifies a zero-terminated string.  input string; a negative value specifies a zero-terminated string.
229  .P  .P
230  If \fIbyte_order\fP is NULL, it is assumed that the string starts off in host  If \fIbyte_order\fP is NULL, it is assumed that the string starts off in host

Legend:
Removed from v.858  
changed lines
  Added in v.859

  ViewVC Help
Powered by ViewVC 1.1.5