Rewrap stdsort with specific types

This commit is contained in:
Adriane Boyd 2019-09-27 11:20:44 +02:00
parent 5983b7b612
commit b2a162361f

View File

@ -690,7 +690,9 @@ def _get_regex_pattern(regex):
cdef extern from "<algorithm>" namespace "std" nogil:
void stdsort "sort"(...)
void stdsort "sort"(vector[MatchStruct].iterator,
vector[MatchStruct].iterator,
bint (*)(MatchStruct, MatchStruct))
cdef bint len_start_cmp(MatchStruct a, MatchStruct b) nogil: