summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-11-25 12:49:02 -0700
committerKarl Williamson <public@khwilliamson.com>2012-01-13 09:58:34 -0700
commitd5e82ecc1467ae1fcabb72eea508b3cf6727d00a (patch)
tree8e716af71c9d6326ee73300ac7f81c1dcfd59f7f /embed.fnc
parent786861f5594c35821fd2b5d1f40499b4d68c3daf (diff)
downloadperl-d5e82ecc1467ae1fcabb72eea508b3cf6727d00a.tar.gz
regcomp.c: Add invlist_search()
This function does a binary search on an inversion list. It will be used in future commits
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index ce8e2e253d..97b9d26b50 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1372,6 +1372,7 @@ EiMR |SV* |invlist_clone |NN SV* const invlist
EiMR |UV* |get_invlist_iter_addr |NN SV* invlist
EiM |void |invlist_iterinit|NN SV* invlist
EsMR |bool |invlist_iternext|NN SV* invlist|NN UV* start|NN UV* end
+EsMR |IV |invlist_search |NN SV* const invlist|const UV cp
#endif
#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_UTF8_C)
EXpM |void |_invlist_intersection |NN SV* const a|NN SV* const b|NN SV** i