X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=pysam.git;a=blobdiff_plain;f=pysam%2FTabProxies.pxd;h=61a2a5d74c98b0a2bb71e6c2805829e2ac5c0fd1;hp=cf11852644eccc583eb5e735961c3987be1f5652;hb=920cc77ed26707a0d92f9e436121b61d84bde627;hpb=8ab946e230447a6fe686edabc5e3cfa445da1721 diff --git a/pysam/TabProxies.pxd b/pysam/TabProxies.pxd index cf11852..61a2a5d 100644 --- a/pysam/TabProxies.pxd +++ b/pysam/TabProxies.pxd @@ -11,7 +11,6 @@ cdef extern from "stdlib.h": cdef extern from "Python.h": ctypedef struct FILE - FILE* PyFile_AsFile(object) char *fgets(char *str, int size, FILE *ifile) int feof(FILE *stream) size_t strlen(char *s) @@ -61,19 +60,11 @@ cdef class TupleProxy: cdef class GTFProxy( TupleProxy) : cdef: - char * contig - char * source - char * feature - uint32_t start - uint32_t end - char * score - char * strand - char * frame - char * attributes + char * _attributes cdef bint hasOwnAttributes cdef int getMaxFields( self, size_t nbytes ) - cdef update( self, char * buffer, size_t nbytes ) + cdef char * getAttributes( self ) cdef class NamedTupleProxy( TupleProxy) : pass