I think this is an excellent idea. If Philip also supports it, I will do this.

Regards,
Zoltan

Ralf Junker <[email protected]> írta:
>On 05.01.2012 08:39, Zoltán Herczeg wrote:>
>
>> One detriment to a combined 8+16 library is that it may be too easy>
>> to accidentally mis-code to the wrong 8/16 API and not have that>
>> caught during linkage.>
>>
> That is a strong reason. Ok I will leave it as it is now.>
>
Along the same lines, may I suggest to different pcre types, pcre (old)>
and pcre16 (new)?>
>
This should allow compilers to detect invalid 8-bit and 16-bit function>
calls like>
>
  pcre* re;>
>
  re = pcre16_compile (...); /* 16-bit */>
>
  pcre_exec (re, ...);  /* wrong 8-bit call */>
>
Ralf>



-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to