5 Commits

Author SHA1 Message Date
Nicholas Wilson
cbfe089624 Automatic update of doc files #noupdate 2025-08-28 10:39:03 +00:00
Nicholas Wilson
e02e52804c Update release number to 10.46-DEV #noupdate (#667) 2025-01-12 15:28:37 +00:00
Nicholas Wilson
f15bdd334d Update all man page dates #noupdate (#634) 2024-12-18 14:12:58 +00:00
Philip Hazel
d73a949ec1 Refactor heapframe_size code in pcre2test and update documentation for heap frame information 2023-01-18 17:57:07 +00:00
Carlo Marcelo Arenas Belón
c80c6338ad add pcre2_get_match_data_heapframes_size() (#191)
Since PCRE2 10.41, the match data contains a pointer to a vector of
frames allocated in the heap and that are used by pcre2_match()
when doing non JIT matches.

There is though, no outside visibility on the size of it, and therefore
the memory it uses is locked away until match_data itself is freed.

Add an API that allows getting that value, so an application could
decide based on its own experienced memory pressure to keep reusing
that match_data or not.

While at it, update the documentation of other related functions for
clarity.
2023-01-17 15:26:27 +00:00