1234567891011121314151617181920 |
- cimport lakesuperior.cy_include.cytpl as tpl
- ctypedef tpl.tpl_bin Buffer
- ctypedef size_t KeyIdx
- ctypedef KeyIdx Key[1]
- ctypedef KeyIdx DoubleKey[2]
- ctypedef KeyIdx TripleKey[3]
- ctypedef KeyIdx QuadKey[4]
- cdef enum:
- KLEN = sizeof(KeyIdx)
- DBL_KLEN = 2 * sizeof(KeyIdx)
- TRP_KLEN = 3 * sizeof(KeyIdx)
- QUAD_KLEN = 4 * sizeof(KeyIdx)
- cdef bytes buffer_dump(Buffer* buf)
|