mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Rewrap stdsort with specific types
This commit is contained in:
parent
5983b7b612
commit
b2a162361f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user