Re: [pcre-dev] Documentation quetion

Pàgina inicial
Delete this message
Autor: Ze'ev Atlas
Data:  
A: pcre-dev@exim.org
Assumpte: Re: [pcre-dev] Documentation quetion
Thank youThe reason I need it to be correct is that it tells me which functions are exposed to the users - and those are the functions for which I should be accounted for in my cobol-api module (pcobapi2.c).  I may automate producing that module, but my input would be the documenation (unless there is another way to find and identify the exposed functions and their signatures.) Ze'ev Atlas


      From: "ph10@???" <ph10@???>
 To: Ze'ev Atlas <zatlas1@???> 
Cc: Pcre Exim <pcre-dev@???> 
 Sent: Wednesday, July 29, 2015 4:05 AM
 Subject: Re: 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