@@ -42,9 +42,9 @@ POSSIBILITY OF SUCH DAMAGE.
4242/* The current PCRE version information. */
4343
4444#define PCRE2_MAJOR 10
45- #define PCRE2_MINOR 40
45+ #define PCRE2_MINOR 42
4646#define PCRE2_PRERELEASE
47- #define PCRE2_DATE 2022-04-14
47+ #define PCRE2_DATE 2022-12-11
4848
4949/* When an application links to a PCRE DLL in Windows, the symbols that are
5050imported have to be identified as such. When building PCRE2, the appropriate
@@ -572,19 +572,19 @@ PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION pcre2_config(uint32_t, void *);
572572/* Functions for manipulating contexts. */
573573
574574#define PCRE2_GENERAL_CONTEXT_FUNCTIONS \
575- PCRE2_EXP_DECL pcre2_general_context PCRE2_CALL_CONVENTION \
576- * pcre2_general_context_copy(pcre2_general_context *); \
577- PCRE2_EXP_DECL pcre2_general_context PCRE2_CALL_CONVENTION \
578- * pcre2_general_context_create(void *(*)(PCRE2_SIZE, void *), \
575+ PCRE2_EXP_DECL pcre2_general_context * PCRE2_CALL_CONVENTION \
576+ pcre2_general_context_copy(pcre2_general_context *); \
577+ PCRE2_EXP_DECL pcre2_general_context * PCRE2_CALL_CONVENTION \
578+ pcre2_general_context_create(void *(*)(PCRE2_SIZE, void *), \
579579 void (*)(void *, void *), void *); \
580580PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \
581581 pcre2_general_context_free(pcre2_general_context *);
582582
583583#define PCRE2_COMPILE_CONTEXT_FUNCTIONS \
584- PCRE2_EXP_DECL pcre2_compile_context PCRE2_CALL_CONVENTION \
585- * pcre2_compile_context_copy(pcre2_compile_context *); \
586- PCRE2_EXP_DECL pcre2_compile_context PCRE2_CALL_CONVENTION \
587- * pcre2_compile_context_create(pcre2_general_context *);\
584+ PCRE2_EXP_DECL pcre2_compile_context * PCRE2_CALL_CONVENTION \
585+ pcre2_compile_context_copy(pcre2_compile_context *); \
586+ PCRE2_EXP_DECL pcre2_compile_context * PCRE2_CALL_CONVENTION \
587+ pcre2_compile_context_create(pcre2_general_context *);\
588588PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \
589589 pcre2_compile_context_free(pcre2_compile_context *); \
590590PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
@@ -604,10 +604,10 @@ PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
604604 int (*)(uint32_t, void *), void *);
605605
606606#define PCRE2_MATCH_CONTEXT_FUNCTIONS \
607- PCRE2_EXP_DECL pcre2_match_context PCRE2_CALL_CONVENTION \
608- * pcre2_match_context_copy(pcre2_match_context *); \
609- PCRE2_EXP_DECL pcre2_match_context PCRE2_CALL_CONVENTION \
610- * pcre2_match_context_create(pcre2_general_context *); \
607+ PCRE2_EXP_DECL pcre2_match_context * PCRE2_CALL_CONVENTION \
608+ pcre2_match_context_copy(pcre2_match_context *); \
609+ PCRE2_EXP_DECL pcre2_match_context * PCRE2_CALL_CONVENTION \
610+ pcre2_match_context_create(pcre2_general_context *); \
611611PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \
612612 pcre2_match_context_free(pcre2_match_context *); \
613613PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
@@ -631,10 +631,10 @@ PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
631631 void *(*)(PCRE2_SIZE, void *), void (*)(void *, void *), void *);
632632
633633#define PCRE2_CONVERT_CONTEXT_FUNCTIONS \
634- PCRE2_EXP_DECL pcre2_convert_context PCRE2_CALL_CONVENTION \
635- * pcre2_convert_context_copy(pcre2_convert_context *); \
636- PCRE2_EXP_DECL pcre2_convert_context PCRE2_CALL_CONVENTION \
637- * pcre2_convert_context_create(pcre2_general_context *); \
634+ PCRE2_EXP_DECL pcre2_convert_context * PCRE2_CALL_CONVENTION \
635+ pcre2_convert_context_copy(pcre2_convert_context *); \
636+ PCRE2_EXP_DECL pcre2_convert_context * PCRE2_CALL_CONVENTION \
637+ pcre2_convert_context_create(pcre2_general_context *); \
638638PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \
639639 pcre2_convert_context_free(pcre2_convert_context *); \
640640PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
@@ -646,15 +646,15 @@ PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
646646/* Functions concerned with compiling a pattern to PCRE internal code. */
647647
648648#define PCRE2_COMPILE_FUNCTIONS \
649- PCRE2_EXP_DECL pcre2_code PCRE2_CALL_CONVENTION \
650- * pcre2_compile(PCRE2_SPTR, PCRE2_SIZE, uint32_t, int *, PCRE2_SIZE *, \
649+ PCRE2_EXP_DECL pcre2_code * PCRE2_CALL_CONVENTION \
650+ pcre2_compile(PCRE2_SPTR, PCRE2_SIZE, uint32_t, int *, PCRE2_SIZE *, \
651651 pcre2_compile_context *); \
652652PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \
653653 pcre2_code_free(pcre2_code *); \
654- PCRE2_EXP_DECL pcre2_code PCRE2_CALL_CONVENTION \
655- * pcre2_code_copy(const pcre2_code *); \
656- PCRE2_EXP_DECL pcre2_code PCRE2_CALL_CONVENTION \
657- * pcre2_code_copy_with_tables(const pcre2_code *);
654+ PCRE2_EXP_DECL pcre2_code * PCRE2_CALL_CONVENTION \
655+ pcre2_code_copy(const pcre2_code *); \
656+ PCRE2_EXP_DECL pcre2_code * PCRE2_CALL_CONVENTION \
657+ pcre2_code_copy_with_tables(const pcre2_code *);
658658
659659
660660/* Functions that give information about a compiled pattern. */
@@ -670,10 +670,10 @@ PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
670670/* Functions for running a match and inspecting the result. */
671671
672672#define PCRE2_MATCH_FUNCTIONS \
673- PCRE2_EXP_DECL pcre2_match_data PCRE2_CALL_CONVENTION \
674- * pcre2_match_data_create(uint32_t, pcre2_general_context *); \
675- PCRE2_EXP_DECL pcre2_match_data PCRE2_CALL_CONVENTION \
676- * pcre2_match_data_create_from_pattern(const pcre2_code *, \
673+ PCRE2_EXP_DECL pcre2_match_data * PCRE2_CALL_CONVENTION \
674+ pcre2_match_data_create(uint32_t, pcre2_general_context *); \
675+ PCRE2_EXP_DECL pcre2_match_data * PCRE2_CALL_CONVENTION \
676+ pcre2_match_data_create_from_pattern(const pcre2_code *, \
677677 pcre2_general_context *); \
678678PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
679679 pcre2_dfa_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \
@@ -689,8 +689,8 @@ PCRE2_EXP_DECL PCRE2_SIZE PCRE2_CALL_CONVENTION \
689689 pcre2_get_match_data_size(pcre2_match_data *); \
690690PCRE2_EXP_DECL uint32_t PCRE2_CALL_CONVENTION \
691691 pcre2_get_ovector_count(pcre2_match_data *); \
692- PCRE2_EXP_DECL PCRE2_SIZE PCRE2_CALL_CONVENTION \
693- * pcre2_get_ovector_pointer(pcre2_match_data *); \
692+ PCRE2_EXP_DECL PCRE2_SIZE * PCRE2_CALL_CONVENTION \
693+ pcre2_get_ovector_pointer(pcre2_match_data *); \
694694PCRE2_EXP_DECL PCRE2_SIZE PCRE2_CALL_CONVENTION \
695695 pcre2_get_startchar(pcre2_match_data *);
696696
@@ -770,8 +770,8 @@ PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
770770 uint32_t, pcre2_match_data *, pcre2_match_context *); \
771771PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \
772772 pcre2_jit_free_unused_memory(pcre2_general_context *); \
773- PCRE2_EXP_DECL pcre2_jit_stack PCRE2_CALL_CONVENTION \
774- * pcre2_jit_stack_create(PCRE2_SIZE, PCRE2_SIZE, pcre2_general_context *); \
773+ PCRE2_EXP_DECL pcre2_jit_stack * PCRE2_CALL_CONVENTION \
774+ pcre2_jit_stack_create(PCRE2_SIZE, PCRE2_SIZE, pcre2_general_context *); \
775775PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \
776776 pcre2_jit_stack_assign(pcre2_match_context *, pcre2_jit_callback, void *); \
777777PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \
@@ -783,8 +783,8 @@ PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \
783783#define PCRE2_OTHER_FUNCTIONS \
784784PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
785785 pcre2_get_error_message(int, PCRE2_UCHAR *, PCRE2_SIZE); \
786- PCRE2_EXP_DECL const uint8_t PCRE2_CALL_CONVENTION \
787- * pcre2_maketables(pcre2_general_context *); \
786+ PCRE2_EXP_DECL const uint8_t * PCRE2_CALL_CONVENTION \
787+ pcre2_maketables(pcre2_general_context *); \
788788PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \
789789 pcre2_maketables_free(pcre2_general_context *, const uint8_t *);
790790
0 commit comments