X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=pysam.git;a=blobdiff_plain;f=pysam%2FTabProxies.pxd;fp=pysam%2FTabProxies.pxd;h=61a2a5d74c98b0a2bb71e6c2805829e2ac5c0fd1;hp=cf11852644eccc583eb5e735961c3987be1f5652;hb=68c074fc81858150ca7447a88e731eec96be6378;hpb=768881ffd9d33e3c5fa00dd9ea6f488f4f0700b3 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