File size: 256 Bytes
7885a28
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Heap routines, used in various Cython implementations.

from cython cimport floating

from ._typedefs cimport intp_t


cdef int heap_push(
    floating* values,
    intp_t* indices,
    intp_t size,
    floating val,
    intp_t val_idx,
) noexcept nogil