/[pcre]/code/tags/pcre-6.1/pcre.in
ViewVC logotype

Diff of /code/tags/pcre-6.1/pcre.in

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

revision 71 by nigel, Sat Feb 24 21:40:24 2007 UTC revision 73 by nigel, Sat Feb 24 21:40:30 2007 UTC
# Line 61  extern "C" { Line 61  extern "C" {
61    
62  /* Exec-time and get/set-time error codes */  /* Exec-time and get/set-time error codes */
63    
64  #define PCRE_ERROR_NOMATCH        (-1)  #define PCRE_ERROR_NOMATCH         (-1)
65  #define PCRE_ERROR_NULL           (-2)  #define PCRE_ERROR_NULL            (-2)
66  #define PCRE_ERROR_BADOPTION      (-3)  #define PCRE_ERROR_BADOPTION       (-3)
67  #define PCRE_ERROR_BADMAGIC       (-4)  #define PCRE_ERROR_BADMAGIC        (-4)
68  #define PCRE_ERROR_UNKNOWN_NODE   (-5)  #define PCRE_ERROR_UNKNOWN_NODE    (-5)
69  #define PCRE_ERROR_NOMEMORY       (-6)  #define PCRE_ERROR_NOMEMORY        (-6)
70  #define PCRE_ERROR_NOSUBSTRING    (-7)  #define PCRE_ERROR_NOSUBSTRING     (-7)
71  #define PCRE_ERROR_MATCHLIMIT     (-8)  #define PCRE_ERROR_MATCHLIMIT      (-8)
72  #define PCRE_ERROR_CALLOUT        (-9)  /* Never used by PCRE itself */  #define PCRE_ERROR_CALLOUT         (-9)  /* Never used by PCRE itself */
73  #define PCRE_ERROR_BADUTF8       (-10)  #define PCRE_ERROR_BADUTF8        (-10)
74    #define PCRE_ERROR_BADUTF8_OFFSET (-11)
75    
76  /* Request types for pcre_fullinfo() */  /* Request types for pcre_fullinfo() */
77    
# Line 94  extern "C" { Line 95  extern "C" {
95  #define PCRE_CONFIG_LINK_SIZE               2  #define PCRE_CONFIG_LINK_SIZE               2
96  #define PCRE_CONFIG_POSIX_MALLOC_THRESHOLD  3  #define PCRE_CONFIG_POSIX_MALLOC_THRESHOLD  3
97  #define PCRE_CONFIG_MATCH_LIMIT             4  #define PCRE_CONFIG_MATCH_LIMIT             4
98    #define PCRE_CONFIG_STACKRECURSE            5
99    
100  /* Bit flags for the pcre_extra structure */  /* Bit flags for the pcre_extra structure */
101    
# Line 137  typedef struct pcre_callout_block { Line 139  typedef struct pcre_callout_block {
139  } pcre_callout_block;  } pcre_callout_block;
140    
141  /* Indirection for store get and free functions. These can be set to  /* Indirection for store get and free functions. These can be set to
142  alternative malloc/free functions if required. There is also an optional  alternative malloc/free functions if required. Special ones are used in the
143  callout function that is triggered by the (?) regex item. Some magic is  non-recursive case for "frames". There is also an optional callout function
144  required for Win32 DLL; it is null on other OS. For Virtual Pascal, these  that is triggered by the (?) regex item. Some magic is required for Win32 DLL;
145  have to be different again. */  it is null on other OS. For Virtual Pascal, these have to be different again.
146    */
147    
148  #ifndef VPCOMPAT  #ifndef VPCOMPAT
149  PCRE_DATA_SCOPE void *(*pcre_malloc)(size_t);  PCRE_DATA_SCOPE void *(*pcre_malloc)(size_t);
150  PCRE_DATA_SCOPE void  (*pcre_free)(void *);  PCRE_DATA_SCOPE void  (*pcre_free)(void *);
151    PCRE_DATA_SCOPE void *(*pcre_stack_malloc)(size_t);
152    PCRE_DATA_SCOPE void  (*pcre_stack_free)(void *);
153  PCRE_DATA_SCOPE int   (*pcre_callout)(pcre_callout_block *);  PCRE_DATA_SCOPE int   (*pcre_callout)(pcre_callout_block *);
154  #else   /* VPCOMPAT */  #else   /* VPCOMPAT */
155  extern void *pcre_malloc(size_t);  extern void *pcre_malloc(size_t);
156  extern void  pcre_free(void *);  extern void  pcre_free(void *);
157    extern void *pcre_stack_malloc(size_t);
158    extern void  pcre_stack_free(void *);
159  extern int   pcre_callout(pcre_callout_block *);  extern int   pcre_callout(pcre_callout_block *);
160  #endif  /* VPCOMPAT */  #endif  /* VPCOMPAT */
161    

Legend:
Removed from v.71  
changed lines
  Added in v.73

  ViewVC Help
Powered by ViewVC 1.1.5