From 5d5c6bd2e75b62f98cb3d9ab6708555a657667d9 Mon Sep 17 00:00:00 2001 From: Jerome Kelleher Date: Fri, 19 Jan 2024 12:47:27 +0000 Subject: [PATCH] Fixup pxd definitions for tbx_t struct --- cyvcf2/cyvcf2.pxd | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cyvcf2/cyvcf2.pxd b/cyvcf2/cyvcf2.pxd index 101147c..bd53879 100644 --- a/cyvcf2/cyvcf2.pxd +++ b/cyvcf2/cyvcf2.pxd @@ -79,9 +79,14 @@ cdef extern from "htslib/hts.h": void hts_idx_destroy(hts_idx_t *idx); cdef extern from "htslib/tbx.h": + ctypedef struct tbx_conf_t: + pass + # Expose details of tbx_t so that we can access the idx field ctypedef struct tbx_t: - hts_idx_t *idx; + tbx_conf_t conf + hts_idx_t *idx + void *dict tbx_t *tbx_index_load(const char *fn); tbx_t *tbx_index_load2(const char *fn, const char *fnidx);