Re: [pcre-dev] Revision 922

Pàgina inicial
Delete this message
Autor: Zoltán Herczeg
Data:  
A: pcre-dev
CC: pcre-dev
Assumpte: Re: [pcre-dev] Revision 922
Hi,

> Not a stupid question. Thanks for asking it. Darn. I want this
> functionality for pcretest. I do not want to modify the API for
> pcre_exec. Is there any other way I can achieve this? (I was slightly
> worried when I implemented what I did, but obviously not worried enough.
> I must remember to *think threads*. :-)


This is dead easy. The JIT callback is *only* called if JIT runs (and in that case it is always called). We just need to set a flag in the callback.

Regards,
Zoltan