/[pcre]/code/branches/pcre16/pcre_newline.c
ViewVC logotype

Diff of /code/branches/pcre16/pcre_newline.c

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

revision 305 by ph10, Sun Jan 20 20:07:32 2008 UTC revision 409 by ph10, Sat Mar 28 17:10:56 2009 UTC
# Line 6  Line 6 
6  and semantics are as close as possible to those of the Perl 5 language.  and semantics are as close as possible to those of the Perl 5 language.
7    
8                         Written by Philip Hazel                         Written by Philip Hazel
9             Copyright (c) 1997-2008 University of Cambridge             Copyright (c) 1997-2009 University of Cambridge
10    
11  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------
12  Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
# Line 73  Returns: TRUE or FALSE Line 73  Returns: TRUE or FALSE
73  */  */
74    
75  BOOL  BOOL
76  _pcre_is_newline(const uschar *ptr, int type, const uschar *endptr,  _pcre_is_newline(USPTR ptr, int type, USPTR endptr, int *lenptr, BOOL utf8)
   int *lenptr, BOOL utf8)  
77  {  {
78  int c;  int c;
79  if (utf8) { GETCHAR(c, ptr); } else c = *ptr;  if (utf8) { GETCHAR(c, ptr); } else c = *ptr;
# Line 123  Returns: TRUE or FALSE Line 122  Returns: TRUE or FALSE
122  */  */
123    
124  BOOL  BOOL
125  _pcre_was_newline(const uschar *ptr, int type, const uschar *startptr,  _pcre_was_newline(USPTR ptr, int type, USPTR startptr, int *lenptr, BOOL utf8)
   int *lenptr, BOOL utf8)  
126  {  {
127  int c;  int c;
128  ptr--;  ptr--;

Legend:
Removed from v.305  
changed lines
  Added in v.409

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12