Re: [pcre-dev] Documentation quetion

Góra strony
Delete this message
Autor: ph10
Data:  
Dla: Ze'ev Atlas
CC: Pcre Exim
Temat: Re: [pcre-dev] Documentation quetion
On Wed, 29 Jul 2015, Ze'ev Atlas wrote:

> Are those definitions, taken from the documentation, correct?
>        pcre2_code_free(pcre2_code *code);
>        pcre2_match_data_create(uint32_t ovecsize,         pcre2_general_context *gcontext);
>        pcre2_match_data_create_from_pattern(const pcre2_code *code,         pcre2_general_context *gcontext);
> Shouldn't it be 
>        void *pcre2_code_free(pcre2_code *code);
>        pcre2_match_data *pcre2_match_data_create(uint32_t ovecsize,         pcre2_general_context *gcontext);
>       pcre2_match_data * pcre2_match_data_create_from_pattern(const pcre2_code *code,         pcre2_general_context *gcontext); Ze'ev Atlas


Yes, except that the first should be

   void pcre2_code_free(pcre2_code *code);

(void, not void *). Thanks for noticing these typos. I have fixed them
in the all the places they occur (I hope :-).

Philip

--
Philip Hazel