{-# OPTIONS_GHC -fno-warn-unused-imports #-} #include #include "/usr/include/pcre2.h" module Text.Regex.PCRE2.Foreign.Pcre2 where import Foreign.Ptr #strict_import {- typedef uint8_t PCRE2_UCHAR8; -} #synonym_t PCRE2_UCHAR8 , CUChar {- typedef uint16_t PCRE2_UCHAR16; -} #synonym_t PCRE2_UCHAR16 , CUShort {- typedef uint32_t PCRE2_UCHAR32; -} #synonym_t PCRE2_UCHAR32 , CUInt #globalvar PCRE2_SPTR8 , Ptr CUChar #globalvar PCRE2_SPTR16 , Ptr CUShort #globalvar PCRE2_SPTR32 , Ptr CUInt {- struct pcre2_real_general_context_8; -} #opaque_t struct pcre2_real_general_context_8 {- typedef struct pcre2_real_general_context_8 pcre2_general_context_8; -} #synonym_t pcre2_general_context_8 , {- struct pcre2_real_compile_context_8; -} #opaque_t struct pcre2_real_compile_context_8 {- typedef struct pcre2_real_compile_context_8 pcre2_compile_context_8; -} #synonym_t pcre2_compile_context_8 , {- struct pcre2_real_match_context_8; -} #opaque_t struct pcre2_real_match_context_8 {- typedef struct pcre2_real_match_context_8 pcre2_match_context_8; -} #synonym_t pcre2_match_context_8 , {- struct pcre2_real_convert_context_8; -} #opaque_t struct pcre2_real_convert_context_8 {- typedef struct pcre2_real_convert_context_8 pcre2_convert_context_8; -} #synonym_t pcre2_convert_context_8 , {- struct pcre2_real_code_8; -} #opaque_t struct pcre2_real_code_8 {- typedef struct pcre2_real_code_8 pcre2_code_8; -} #synonym_t pcre2_code_8 , {- struct pcre2_real_match_data_8; -} #opaque_t struct pcre2_real_match_data_8 {- typedef struct pcre2_real_match_data_8 pcre2_match_data_8; -} #synonym_t pcre2_match_data_8 , {- struct pcre2_real_jit_stack_8; -} #opaque_t struct pcre2_real_jit_stack_8 {- typedef struct pcre2_real_jit_stack_8 pcre2_jit_stack_8; -} #synonym_t pcre2_jit_stack_8 , #callback pcre2_jit_callback_8 , Ptr () -> IO (Ptr ) {- typedef struct pcre2_callout_block_8 { uint32_t version; uint32_t callout_number; uint32_t capture_top; uint32_t capture_last; size_t * offset_vector; PCRE2_SPTR8 mark; PCRE2_SPTR8 subject; size_t subject_length; size_t start_match; size_t current_position; size_t pattern_position; size_t next_item_length; size_t callout_string_offset; size_t callout_string_length; PCRE2_SPTR8 callout_string; uint32_t callout_flags; } pcre2_callout_block_8; -} #starttype struct pcre2_callout_block_8 #field version , CUInt #field callout_number , CUInt #field capture_top , CUInt #field capture_last , CUInt #field offset_vector , Ptr CSize #field mark , #field subject , #field subject_length , CSize #field start_match , CSize #field current_position , CSize #field pattern_position , CSize #field next_item_length , CSize #field callout_string_offset , CSize #field callout_string_length , CSize #field callout_string , #field callout_flags , CUInt #stoptype {- typedef struct pcre2_callout_enumerate_block_8 { uint32_t version; size_t pattern_position; size_t next_item_length; uint32_t callout_number; size_t callout_string_offset; size_t callout_string_length; PCRE2_SPTR8 callout_string; } pcre2_callout_enumerate_block_8; -} #starttype struct pcre2_callout_enumerate_block_8 #field version , CUInt #field pattern_position , CSize #field next_item_length , CSize #field callout_number , CUInt #field callout_string_offset , CSize #field callout_string_length , CSize #field callout_string , #stoptype #ccall pcre2_config_8 , CUInt -> Ptr () -> IO CInt #ccall pcre2_general_context_copy_8 , Ptr -> IO (Ptr ) #ccall pcre2_general_context_create_8 , FunPtr (CSize -> Ptr () -> Ptr ()) -> FunPtr (Ptr () -> Ptr () -> IO ()) -> Ptr () -> IO (Ptr ) #ccall pcre2_general_context_free_8 , Ptr -> IO () #ccall pcre2_compile_context_copy_8 , Ptr -> IO (Ptr ) #ccall pcre2_compile_context_create_8 , Ptr -> IO (Ptr ) #ccall pcre2_compile_context_free_8 , Ptr -> IO () #ccall pcre2_set_bsr_8 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_character_tables_8 , Ptr -> Ptr CUChar -> IO CInt #ccall pcre2_set_compile_extra_options_8 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_max_pattern_length_8 , Ptr -> CSize -> IO CInt #ccall pcre2_set_newline_8 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_parens_nest_limit_8 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_compile_recursion_guard_8 , Ptr -> FunPtr (CUInt -> Ptr () -> CInt) -> Ptr () -> IO CInt #ccall pcre2_convert_context_copy_8 , Ptr -> IO (Ptr ) #ccall pcre2_convert_context_create_8 , Ptr -> IO (Ptr ) #ccall pcre2_convert_context_free_8 , Ptr -> IO () #ccall pcre2_set_glob_escape_8 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_glob_separator_8 , Ptr -> CUInt -> IO CInt #ccall pcre2_pattern_convert_8 , -> CSize -> CUInt -> Ptr (Ptr CUChar) -> Ptr CSize -> Ptr -> IO CInt #ccall pcre2_converted_pattern_free_8 , Ptr CUChar -> IO () #ccall pcre2_match_context_copy_8 , Ptr -> IO (Ptr ) #ccall pcre2_match_context_create_8 , Ptr -> IO (Ptr ) #ccall pcre2_match_context_free_8 , Ptr -> IO () #ccall pcre2_set_callout_8 , Ptr -> FunPtr (Ptr -> Ptr () -> CInt) -> Ptr () -> IO CInt #ccall pcre2_set_depth_limit_8 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_heap_limit_8 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_match_limit_8 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_offset_limit_8 , Ptr -> CSize -> IO CInt #ccall pcre2_set_recursion_limit_8 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_recursion_memory_management_8 , Ptr -> FunPtr (CSize -> Ptr () -> Ptr ()) -> FunPtr (Ptr () -> Ptr () -> IO ()) -> Ptr () -> IO CInt #ccall pcre2_compile_8 , -> CSize -> CUInt -> Ptr CInt -> Ptr CSize -> Ptr -> IO (Ptr ) #ccall pcre2_code_free_8 , Ptr -> IO () #ccall pcre2_code_copy_8 , Ptr -> IO (Ptr ) #ccall pcre2_code_copy_with_tables_8 , Ptr -> IO (Ptr ) #ccall pcre2_pattern_info_8 , Ptr -> CUInt -> Ptr () -> IO CInt #ccall pcre2_callout_enumerate_8 , Ptr -> FunPtr (Ptr -> Ptr () -> CInt) -> Ptr () -> IO CInt #ccall pcre2_match_data_create_8 , CUInt -> Ptr -> IO (Ptr ) #ccall pcre2_match_data_create_from_pattern_8 , Ptr -> Ptr -> IO (Ptr ) #ccall pcre2_dfa_match_8 , Ptr -> -> CSize -> CSize -> CUInt -> Ptr -> Ptr -> Ptr CInt -> CSize -> IO CInt #ccall pcre2_match_8 , Ptr -> -> CSize -> CSize -> CUInt -> Ptr -> Ptr -> IO CInt #ccall pcre2_match_data_free_8 , Ptr -> IO () #ccall pcre2_get_mark_8 , Ptr -> IO #ccall pcre2_get_ovector_count_8 , Ptr -> IO CUInt #ccall pcre2_get_ovector_pointer_8 , Ptr -> IO (Ptr CSize) #ccall pcre2_get_startchar_8 , Ptr -> IO CSize #ccall pcre2_substring_copy_byname_8 , Ptr -> -> Ptr CUChar -> Ptr CSize -> IO CInt #ccall pcre2_substring_copy_bynumber_8 , Ptr -> CUInt -> Ptr CUChar -> Ptr CSize -> IO CInt #ccall pcre2_substring_free_8 , Ptr CUChar -> IO () #ccall pcre2_substring_get_byname_8 , Ptr -> -> Ptr (Ptr CUChar) -> Ptr CSize -> IO CInt #ccall pcre2_substring_get_bynumber_8 , Ptr -> CUInt -> Ptr (Ptr CUChar) -> Ptr CSize -> IO CInt #ccall pcre2_substring_length_byname_8 , Ptr -> -> Ptr CSize -> IO CInt #ccall pcre2_substring_length_bynumber_8 , Ptr -> CUInt -> Ptr CSize -> IO CInt #ccall pcre2_substring_nametable_scan_8 , Ptr -> -> Ptr -> Ptr -> IO CInt #ccall pcre2_substring_number_from_name_8 , Ptr -> -> IO CInt #ccall pcre2_substring_list_free_8 , Ptr -> IO () #ccall pcre2_substring_list_get_8 , Ptr -> Ptr (Ptr (Ptr CUChar)) -> Ptr (Ptr CSize) -> IO CInt #ccall pcre2_serialize_encode_8 , Ptr (Ptr ) -> CInt -> Ptr (Ptr CUChar) -> Ptr CSize -> Ptr -> IO CInt #ccall pcre2_serialize_decode_8 , Ptr (Ptr ) -> CInt -> Ptr CUChar -> Ptr -> IO CInt #ccall pcre2_serialize_get_number_of_codes_8 , Ptr CUChar -> IO CInt #ccall pcre2_serialize_free_8 , Ptr CUChar -> IO () #ccall pcre2_substitute_8 , Ptr -> -> CSize -> CSize -> CUInt -> Ptr -> Ptr -> -> CSize -> Ptr CUChar -> Ptr CSize -> IO CInt #ccall pcre2_jit_compile_8 , Ptr -> CUInt -> IO CInt #ccall pcre2_jit_match_8 , Ptr -> -> CSize -> CSize -> CUInt -> Ptr -> Ptr -> IO CInt #ccall pcre2_jit_free_unused_memory_8 , Ptr -> IO () #ccall pcre2_jit_stack_create_8 , CSize -> CSize -> Ptr -> IO (Ptr ) #ccall pcre2_jit_stack_assign_8 , Ptr -> -> Ptr () -> IO () #ccall pcre2_jit_stack_free_8 , Ptr -> IO () #ccall pcre2_get_error_message_8 , CInt -> Ptr CUChar -> CSize -> IO CInt #ccall pcre2_maketables_8 , Ptr -> IO (Ptr CUChar) {- struct pcre2_real_general_context_16; -} #opaque_t struct pcre2_real_general_context_16 {- typedef struct pcre2_real_general_context_16 pcre2_general_context_16; -} #synonym_t pcre2_general_context_16 , {- struct pcre2_real_compile_context_16; -} #opaque_t struct pcre2_real_compile_context_16 {- typedef struct pcre2_real_compile_context_16 pcre2_compile_context_16; -} #synonym_t pcre2_compile_context_16 , {- struct pcre2_real_match_context_16; -} #opaque_t struct pcre2_real_match_context_16 {- typedef struct pcre2_real_match_context_16 pcre2_match_context_16; -} #synonym_t pcre2_match_context_16 , {- struct pcre2_real_convert_context_16; -} #opaque_t struct pcre2_real_convert_context_16 {- typedef struct pcre2_real_convert_context_16 pcre2_convert_context_16; -} #synonym_t pcre2_convert_context_16 , {- struct pcre2_real_code_16; -} #opaque_t struct pcre2_real_code_16 {- typedef struct pcre2_real_code_16 pcre2_code_16; -} #synonym_t pcre2_code_16 , {- struct pcre2_real_match_data_16; -} #opaque_t struct pcre2_real_match_data_16 {- typedef struct pcre2_real_match_data_16 pcre2_match_data_16; -} #synonym_t pcre2_match_data_16 , {- struct pcre2_real_jit_stack_16; -} #opaque_t struct pcre2_real_jit_stack_16 {- typedef struct pcre2_real_jit_stack_16 pcre2_jit_stack_16; -} #synonym_t pcre2_jit_stack_16 , #callback pcre2_jit_callback_16 , Ptr () -> IO (Ptr ) {- typedef struct pcre2_callout_block_16 { uint32_t version; uint32_t callout_number; uint32_t capture_top; uint32_t capture_last; size_t * offset_vector; PCRE2_SPTR16 mark; PCRE2_SPTR16 subject; size_t subject_length; size_t start_match; size_t current_position; size_t pattern_position; size_t next_item_length; size_t callout_string_offset; size_t callout_string_length; PCRE2_SPTR16 callout_string; uint32_t callout_flags; } pcre2_callout_block_16; -} #starttype struct pcre2_callout_block_16 #field version , CUInt #field callout_number , CUInt #field capture_top , CUInt #field capture_last , CUInt #field offset_vector , Ptr CSize #field mark , #field subject , #field subject_length , CSize #field start_match , CSize #field current_position , CSize #field pattern_position , CSize #field next_item_length , CSize #field callout_string_offset , CSize #field callout_string_length , CSize #field callout_string , #field callout_flags , CUInt #stoptype {- typedef struct pcre2_callout_enumerate_block_16 { uint32_t version; size_t pattern_position; size_t next_item_length; uint32_t callout_number; size_t callout_string_offset; size_t callout_string_length; PCRE2_SPTR16 callout_string; } pcre2_callout_enumerate_block_16; -} #starttype struct pcre2_callout_enumerate_block_16 #field version , CUInt #field pattern_position , CSize #field next_item_length , CSize #field callout_number , CUInt #field callout_string_offset , CSize #field callout_string_length , CSize #field callout_string , #stoptype #ccall pcre2_config_16 , CUInt -> Ptr () -> IO CInt #ccall pcre2_general_context_copy_16 , Ptr -> IO (Ptr ) #ccall pcre2_general_context_create_16 , FunPtr (CSize -> Ptr () -> Ptr ()) -> FunPtr (Ptr () -> Ptr () -> IO ()) -> Ptr () -> IO (Ptr ) #ccall pcre2_general_context_free_16 , Ptr -> IO () #ccall pcre2_compile_context_copy_16 , Ptr -> IO (Ptr ) #ccall pcre2_compile_context_create_16 , Ptr -> IO (Ptr ) #ccall pcre2_compile_context_free_16 , Ptr -> IO () #ccall pcre2_set_bsr_16 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_character_tables_16 , Ptr -> Ptr CUChar -> IO CInt #ccall pcre2_set_compile_extra_options_16 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_max_pattern_length_16 , Ptr -> CSize -> IO CInt #ccall pcre2_set_newline_16 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_parens_nest_limit_16 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_compile_recursion_guard_16 , Ptr -> FunPtr (CUInt -> Ptr () -> CInt) -> Ptr () -> IO CInt #ccall pcre2_convert_context_copy_16 , Ptr -> IO (Ptr ) #ccall pcre2_convert_context_create_16 , Ptr -> IO (Ptr ) #ccall pcre2_convert_context_free_16 , Ptr -> IO () #ccall pcre2_set_glob_escape_16 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_glob_separator_16 , Ptr -> CUInt -> IO CInt #ccall pcre2_pattern_convert_16 , -> CSize -> CUInt -> Ptr (Ptr CUShort) -> Ptr CSize -> Ptr -> IO CInt #ccall pcre2_converted_pattern_free_16 , Ptr CUShort -> IO () #ccall pcre2_match_context_copy_16 , Ptr -> IO (Ptr ) #ccall pcre2_match_context_create_16 , Ptr -> IO (Ptr ) #ccall pcre2_match_context_free_16 , Ptr -> IO () #ccall pcre2_set_callout_16 , Ptr -> FunPtr (Ptr -> Ptr () -> CInt) -> Ptr () -> IO CInt #ccall pcre2_set_depth_limit_16 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_heap_limit_16 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_match_limit_16 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_offset_limit_16 , Ptr -> CSize -> IO CInt #ccall pcre2_set_recursion_limit_16 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_recursion_memory_management_16 , Ptr -> FunPtr (CSize -> Ptr () -> Ptr ()) -> FunPtr (Ptr () -> Ptr () -> IO ()) -> Ptr () -> IO CInt #ccall pcre2_compile_16 , -> CSize -> CUInt -> Ptr CInt -> Ptr CSize -> Ptr -> IO (Ptr ) #ccall pcre2_code_free_16 , Ptr -> IO () #ccall pcre2_code_copy_16 , Ptr -> IO (Ptr ) #ccall pcre2_code_copy_with_tables_16 , Ptr -> IO (Ptr ) #ccall pcre2_pattern_info_16 , Ptr -> CUInt -> Ptr () -> IO CInt #ccall pcre2_callout_enumerate_16 , Ptr -> FunPtr (Ptr -> Ptr () -> CInt) -> Ptr () -> IO CInt #ccall pcre2_match_data_create_16 , CUInt -> Ptr -> IO (Ptr ) #ccall pcre2_match_data_create_from_pattern_16 , Ptr -> Ptr -> IO (Ptr ) #ccall pcre2_dfa_match_16 , Ptr -> -> CSize -> CSize -> CUInt -> Ptr -> Ptr -> Ptr CInt -> CSize -> IO CInt #ccall pcre2_match_16 , Ptr -> -> CSize -> CSize -> CUInt -> Ptr -> Ptr -> IO CInt #ccall pcre2_match_data_free_16 , Ptr -> IO () #ccall pcre2_get_mark_16 , Ptr -> IO #ccall pcre2_get_ovector_count_16 , Ptr -> IO CUInt #ccall pcre2_get_ovector_pointer_16 , Ptr -> IO (Ptr CSize) #ccall pcre2_get_startchar_16 , Ptr -> IO CSize #ccall pcre2_substring_copy_byname_16 , Ptr -> -> Ptr CUShort -> Ptr CSize -> IO CInt #ccall pcre2_substring_copy_bynumber_16 , Ptr -> CUInt -> Ptr CUShort -> Ptr CSize -> IO CInt #ccall pcre2_substring_free_16 , Ptr CUShort -> IO () #ccall pcre2_substring_get_byname_16 , Ptr -> -> Ptr (Ptr CUShort) -> Ptr CSize -> IO CInt #ccall pcre2_substring_get_bynumber_16 , Ptr -> CUInt -> Ptr (Ptr CUShort) -> Ptr CSize -> IO CInt #ccall pcre2_substring_length_byname_16 , Ptr -> -> Ptr CSize -> IO CInt #ccall pcre2_substring_length_bynumber_16 , Ptr -> CUInt -> Ptr CSize -> IO CInt #ccall pcre2_substring_nametable_scan_16 , Ptr -> -> Ptr -> Ptr -> IO CInt #ccall pcre2_substring_number_from_name_16 , Ptr -> -> IO CInt #ccall pcre2_substring_list_free_16 , Ptr -> IO () #ccall pcre2_substring_list_get_16 , Ptr -> Ptr (Ptr (Ptr CUShort)) -> Ptr (Ptr CSize) -> IO CInt #ccall pcre2_serialize_encode_16 , Ptr (Ptr ) -> CInt -> Ptr (Ptr CUChar) -> Ptr CSize -> Ptr -> IO CInt #ccall pcre2_serialize_decode_16 , Ptr (Ptr ) -> CInt -> Ptr CUChar -> Ptr -> IO CInt #ccall pcre2_serialize_get_number_of_codes_16 , Ptr CUChar -> IO CInt #ccall pcre2_serialize_free_16 , Ptr CUChar -> IO () #ccall pcre2_substitute_16 , Ptr -> -> CSize -> CSize -> CUInt -> Ptr -> Ptr -> -> CSize -> Ptr CUShort -> Ptr CSize -> IO CInt #ccall pcre2_jit_compile_16 , Ptr -> CUInt -> IO CInt #ccall pcre2_jit_match_16 , Ptr -> -> CSize -> CSize -> CUInt -> Ptr -> Ptr -> IO CInt #ccall pcre2_jit_free_unused_memory_16 , Ptr -> IO () #ccall pcre2_jit_stack_create_16 , CSize -> CSize -> Ptr -> IO (Ptr ) #ccall pcre2_jit_stack_assign_16 , Ptr -> -> Ptr () -> IO () #ccall pcre2_jit_stack_free_16 , Ptr -> IO () #ccall pcre2_get_error_message_16 , CInt -> Ptr CUShort -> CSize -> IO CInt #ccall pcre2_maketables_16 , Ptr -> IO (Ptr CUChar) {- struct pcre2_real_general_context_32; -} #opaque_t struct pcre2_real_general_context_32 {- typedef struct pcre2_real_general_context_32 pcre2_general_context_32; -} #synonym_t pcre2_general_context_32 , {- struct pcre2_real_compile_context_32; -} #opaque_t struct pcre2_real_compile_context_32 {- typedef struct pcre2_real_compile_context_32 pcre2_compile_context_32; -} #synonym_t pcre2_compile_context_32 , {- struct pcre2_real_match_context_32; -} #opaque_t struct pcre2_real_match_context_32 {- typedef struct pcre2_real_match_context_32 pcre2_match_context_32; -} #synonym_t pcre2_match_context_32 , {- struct pcre2_real_convert_context_32; -} #opaque_t struct pcre2_real_convert_context_32 {- typedef struct pcre2_real_convert_context_32 pcre2_convert_context_32; -} #synonym_t pcre2_convert_context_32 , {- struct pcre2_real_code_32; -} #opaque_t struct pcre2_real_code_32 {- typedef struct pcre2_real_code_32 pcre2_code_32; -} #synonym_t pcre2_code_32 , {- struct pcre2_real_match_data_32; -} #opaque_t struct pcre2_real_match_data_32 {- typedef struct pcre2_real_match_data_32 pcre2_match_data_32; -} #synonym_t pcre2_match_data_32 , {- struct pcre2_real_jit_stack_32; -} #opaque_t struct pcre2_real_jit_stack_32 {- typedef struct pcre2_real_jit_stack_32 pcre2_jit_stack_32; -} #synonym_t pcre2_jit_stack_32 , #callback pcre2_jit_callback_32 , Ptr () -> IO (Ptr ) {- typedef struct pcre2_callout_block_32 { uint32_t version; uint32_t callout_number; uint32_t capture_top; uint32_t capture_last; size_t * offset_vector; PCRE2_SPTR32 mark; PCRE2_SPTR32 subject; size_t subject_length; size_t start_match; size_t current_position; size_t pattern_position; size_t next_item_length; size_t callout_string_offset; size_t callout_string_length; PCRE2_SPTR32 callout_string; uint32_t callout_flags; } pcre2_callout_block_32; -} #starttype struct pcre2_callout_block_32 #field version , CUInt #field callout_number , CUInt #field capture_top , CUInt #field capture_last , CUInt #field offset_vector , Ptr CSize #field mark , #field subject , #field subject_length , CSize #field start_match , CSize #field current_position , CSize #field pattern_position , CSize #field next_item_length , CSize #field callout_string_offset , CSize #field callout_string_length , CSize #field callout_string , #field callout_flags , CUInt #stoptype {- typedef struct pcre2_callout_enumerate_block_32 { uint32_t version; size_t pattern_position; size_t next_item_length; uint32_t callout_number; size_t callout_string_offset; size_t callout_string_length; PCRE2_SPTR32 callout_string; } pcre2_callout_enumerate_block_32; -} #starttype struct pcre2_callout_enumerate_block_32 #field version , CUInt #field pattern_position , CSize #field next_item_length , CSize #field callout_number , CUInt #field callout_string_offset , CSize #field callout_string_length , CSize #field callout_string , #stoptype #ccall pcre2_config_32 , CUInt -> Ptr () -> IO CInt #ccall pcre2_general_context_copy_32 , Ptr -> IO (Ptr ) #ccall pcre2_general_context_create_32 , FunPtr (CSize -> Ptr () -> Ptr ()) -> FunPtr (Ptr () -> Ptr () -> IO ()) -> Ptr () -> IO (Ptr ) #ccall pcre2_general_context_free_32 , Ptr -> IO () #ccall pcre2_compile_context_copy_32 , Ptr -> IO (Ptr ) #ccall pcre2_compile_context_create_32 , Ptr -> IO (Ptr ) #ccall pcre2_compile_context_free_32 , Ptr -> IO () #ccall pcre2_set_bsr_32 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_character_tables_32 , Ptr -> Ptr CUChar -> IO CInt #ccall pcre2_set_compile_extra_options_32 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_max_pattern_length_32 , Ptr -> CSize -> IO CInt #ccall pcre2_set_newline_32 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_parens_nest_limit_32 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_compile_recursion_guard_32 , Ptr -> FunPtr (CUInt -> Ptr () -> CInt) -> Ptr () -> IO CInt #ccall pcre2_convert_context_copy_32 , Ptr -> IO (Ptr ) #ccall pcre2_convert_context_create_32 , Ptr -> IO (Ptr ) #ccall pcre2_convert_context_free_32 , Ptr -> IO () #ccall pcre2_set_glob_escape_32 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_glob_separator_32 , Ptr -> CUInt -> IO CInt #ccall pcre2_pattern_convert_32 , -> CSize -> CUInt -> Ptr (Ptr CUInt) -> Ptr CSize -> Ptr -> IO CInt #ccall pcre2_converted_pattern_free_32 , Ptr CUInt -> IO () #ccall pcre2_match_context_copy_32 , Ptr -> IO (Ptr ) #ccall pcre2_match_context_create_32 , Ptr -> IO (Ptr ) #ccall pcre2_match_context_free_32 , Ptr -> IO () #ccall pcre2_set_callout_32 , Ptr -> FunPtr (Ptr -> Ptr () -> CInt) -> Ptr () -> IO CInt #ccall pcre2_set_depth_limit_32 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_heap_limit_32 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_match_limit_32 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_offset_limit_32 , Ptr -> CSize -> IO CInt #ccall pcre2_set_recursion_limit_32 , Ptr -> CUInt -> IO CInt #ccall pcre2_set_recursion_memory_management_32 , Ptr -> FunPtr (CSize -> Ptr () -> Ptr ()) -> FunPtr (Ptr () -> Ptr () -> IO ()) -> Ptr () -> IO CInt #ccall pcre2_compile_32 , -> CSize -> CUInt -> Ptr CInt -> Ptr CSize -> Ptr -> IO (Ptr ) #ccall pcre2_code_free_32 , Ptr -> IO () #ccall pcre2_code_copy_32 , Ptr -> IO (Ptr ) #ccall pcre2_code_copy_with_tables_32 , Ptr -> IO (Ptr ) #ccall pcre2_pattern_info_32 , Ptr -> CUInt -> Ptr () -> IO CInt #ccall pcre2_callout_enumerate_32 , Ptr -> FunPtr (Ptr -> Ptr () -> CInt) -> Ptr () -> IO CInt #ccall pcre2_match_data_create_32 , CUInt -> Ptr -> IO (Ptr ) #ccall pcre2_match_data_create_from_pattern_32 , Ptr -> Ptr -> IO (Ptr ) #ccall pcre2_dfa_match_32 , Ptr -> -> CSize -> CSize -> CUInt -> Ptr -> Ptr -> Ptr CInt -> CSize -> IO CInt #ccall pcre2_match_32 , Ptr -> -> CSize -> CSize -> CUInt -> Ptr -> Ptr -> IO CInt #ccall pcre2_match_data_free_32 , Ptr -> IO () #ccall pcre2_get_mark_32 , Ptr -> IO #ccall pcre2_get_ovector_count_32 , Ptr -> IO CUInt #ccall pcre2_get_ovector_pointer_32 , Ptr -> IO (Ptr CSize) #ccall pcre2_get_startchar_32 , Ptr -> IO CSize #ccall pcre2_substring_copy_byname_32 , Ptr -> -> Ptr CUInt -> Ptr CSize -> IO CInt #ccall pcre2_substring_copy_bynumber_32 , Ptr -> CUInt -> Ptr CUInt -> Ptr CSize -> IO CInt #ccall pcre2_substring_free_32 , Ptr CUInt -> IO () #ccall pcre2_substring_get_byname_32 , Ptr -> -> Ptr (Ptr CUInt) -> Ptr CSize -> IO CInt #ccall pcre2_substring_get_bynumber_32 , Ptr -> CUInt -> Ptr (Ptr CUInt) -> Ptr CSize -> IO CInt #ccall pcre2_substring_length_byname_32 , Ptr -> -> Ptr CSize -> IO CInt #ccall pcre2_substring_length_bynumber_32 , Ptr -> CUInt -> Ptr CSize -> IO CInt #ccall pcre2_substring_nametable_scan_32 , Ptr -> -> Ptr -> Ptr -> IO CInt #ccall pcre2_substring_number_from_name_32 , Ptr -> -> IO CInt #ccall pcre2_substring_list_free_32 , Ptr -> IO () #ccall pcre2_substring_list_get_32 , Ptr -> Ptr (Ptr (Ptr CUInt)) -> Ptr (Ptr CSize) -> IO CInt #ccall pcre2_serialize_encode_32 , Ptr (Ptr ) -> CInt -> Ptr (Ptr CUChar) -> Ptr CSize -> Ptr -> IO CInt #ccall pcre2_serialize_decode_32 , Ptr (Ptr ) -> CInt -> Ptr CUChar -> Ptr -> IO CInt #ccall pcre2_serialize_get_number_of_codes_32 , Ptr CUChar -> IO CInt #ccall pcre2_serialize_free_32 , Ptr CUChar -> IO () #ccall pcre2_substitute_32 , Ptr -> -> CSize -> CSize -> CUInt -> Ptr -> Ptr -> -> CSize -> Ptr CUInt -> Ptr CSize -> IO CInt #ccall pcre2_jit_compile_32 , Ptr -> CUInt -> IO CInt #ccall pcre2_jit_match_32 , Ptr -> -> CSize -> CSize -> CUInt -> Ptr -> Ptr -> IO CInt #ccall pcre2_jit_free_unused_memory_32 , Ptr -> IO () #ccall pcre2_jit_stack_create_32 , CSize -> CSize -> Ptr -> IO (Ptr ) #ccall pcre2_jit_stack_assign_32 , Ptr -> -> Ptr () -> IO () #ccall pcre2_jit_stack_free_32 , Ptr -> IO () #ccall pcre2_get_error_message_32 , CInt -> Ptr CUInt -> CSize -> IO CInt #ccall pcre2_maketables_32 , Ptr -> IO (Ptr CUChar)