Re: [pcre-dev] 8/16-bit pcre_extra & pcre_callout_block diff…

Αρχική Σελίδα
Delete this message
Συντάκτης: Zoltán Herczeg
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: Re: [pcre-dev] 8/16-bit pcre_extra & pcre_callout_block differences?
Hi,

I forgot to click on reply all...

>> The reason for single structures is maintainability. Well, what do
>> you think about unions? Every char* pointer would be replaced to a
>> union with both char* and short*pointers. Would that help?
>
> It would probably help, but it would not detect wrong pointer type
> errors at compile time.
>
>> Perhaps we could duplicate these structures, none of them that big...
>
>I believe this would be the most user-friendly solution. As you say,
>these are small structures which can be maintained easily. IMO, the
>little extra effort will pay back in reduced support questions to the
>mailing list.


Philip, if you agree, I will duplicate the structures.

Regards,
Zoltan