123456789101112131415161718 |
- from lakesuperior.cy_include cimport cytpl as tpl
- from lakesuperior.store.ldp_rs.term cimport Buffer, Term
- # Triple of Term structs.
- ctypedef struct Triple:
- Term *s
- Term *p
- Term *o
- # Triple of serialized terms.
- ctypedef struct BufferTriple:
- Buffer *s
- Buffer *p
- Buffer *o
- #cdef:
- # int serialize(tuple trp, tpl.tpl_bin *data) except -1
- # tuple deserialize(tpl.tpl_bin data)
|