version 1.1.1.1, 2012/02/21 23:05:51
|
version 1.1.1.2, 2013/07/22 08:25:55
|
Line 6
|
Line 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. |
|
|
Written by Philip Hazel |
Written by Philip Hazel |
Copyright (c) 1997-2008 University of Cambridge | Copyright (c) 1997-2012 University of Cambridge |
|
|
----------------------------------------------------------------------------- |
----------------------------------------------------------------------------- |
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 67 static void LocalPcreFree(void* aPtr)
|
Line 67 static void LocalPcreFree(void* aPtr)
|
{ |
{ |
free(aPtr); |
free(aPtr); |
} |
} |
PCRE_EXP_DATA_DEFN void *(*pcre_malloc)(size_t) = LocalPcreMalloc; | PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = LocalPcreMalloc; |
PCRE_EXP_DATA_DEFN void (*pcre_free)(void *) = LocalPcreFree; | PCRE_EXP_DATA_DEFN void (*PUBL(free))(void *) = LocalPcreFree; |
PCRE_EXP_DATA_DEFN void *(*pcre_stack_malloc)(size_t) = LocalPcreMalloc; | PCRE_EXP_DATA_DEFN void *(*PUBL(stack_malloc))(size_t) = LocalPcreMalloc; |
PCRE_EXP_DATA_DEFN void (*pcre_stack_free)(void *) = LocalPcreFree; | PCRE_EXP_DATA_DEFN void (*PUBL(stack_free))(void *) = LocalPcreFree; |
PCRE_EXP_DATA_DEFN int (*pcre_callout)(pcre_callout_block *) = NULL; | PCRE_EXP_DATA_DEFN int (*PUBL(callout))(PUBL(callout_block) *) = NULL; |
|
|
#elif !defined VPCOMPAT |
#elif !defined VPCOMPAT |
PCRE_EXP_DATA_DEFN void *(*pcre_malloc)(size_t) = malloc; | PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = malloc; |
PCRE_EXP_DATA_DEFN void (*pcre_free)(void *) = free; | PCRE_EXP_DATA_DEFN void (*PUBL(free))(void *) = free; |
PCRE_EXP_DATA_DEFN void *(*pcre_stack_malloc)(size_t) = malloc; | PCRE_EXP_DATA_DEFN void *(*PUBL(stack_malloc))(size_t) = malloc; |
PCRE_EXP_DATA_DEFN void (*pcre_stack_free)(void *) = free; | PCRE_EXP_DATA_DEFN void (*PUBL(stack_free))(void *) = free; |
PCRE_EXP_DATA_DEFN int (*pcre_callout)(pcre_callout_block *) = NULL; | PCRE_EXP_DATA_DEFN int (*PUBL(callout))(PUBL(callout_block) *) = NULL; |
#endif |
#endif |
|
|
/* End of pcre_globals.c */ |
/* End of pcre_globals.c */ |