Revision history for Search-Trigram
0.03 2026-08-12
- _abi_ptr returns a UV rather than an IV
- Build against perl 5.10.0 again: newSVpvn_flags only arrived in
5.10.1, so the extension linked and then died with "undefined
symbol: newSVpvn_flags" on the first search that returned a hit.
strigram_compat.h falls back to newSVpvn + SvUTF8_on below 5.10.1.
0.02 2026-08-07
- Add a shared C ABI, include/sg_abi.h
- search writes into a caller-provided array rather than handing back
the malloc'd result block strigram_results_free pairs with, so both
halves of the allocation stay on this side of the boundary. There
are deliberately no constructor or destructor entries either: the
Perl object owns the index lifetime and already does it correctly.
- Only index_of takes pTHX_; the rest never touches an SV.
- Become an ExtUtils::Depends provider, so a consumer naming
Search::Trigram gets the include path automatically.
- Add t/06-abi.t.
0.01 2026-07-12
- Initial release