[pcre-dev] [Bug 1174] allow passing of pcre_{malloc, free, …

Pàgina inicial
Delete this message
Autor: Philip Hazel
Data:  
A: pcre-dev
Assumpte: [pcre-dev] [Bug 1174] allow passing of pcre_{malloc, free, stack_malloc, stack_free, callout} as parameters
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1174




--- Comment #7 from Philip Hazel <ph10@???> 2011-11-14 10:29:03 ---
I have written a document that discusses this and also the UTF-16 issue (bug
1049) because they both impact on PCRE's API. I posted the document to bug
1049, but you can also read it at http://people.pwf.cam.ac.uk/ph10/PCRE16bit.

My proposal for this issue is, for the moment, to do the easy thing, namely,
add a callout function pointer to the pcre_extra structure, and add a
PCRE_USE_MALLOC option to force the use of malloc and free. This does not
preclude doing a more general development later.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email