str.pxd 392 B

123456789101112
  1. from util.generic.ptr cimport THolder
  2. from util.generic.string cimport TString, TStringBuf
  3. from util.stream.output cimport IOutputStream
  4. cdef extern from "<util/stream/str.h>" nogil:
  5. cdef cppclass TStringOutput(IOutputStream):
  6. TStringOutput() except+
  7. TStringOutput(TString&) except+
  8. void Reserve(size_t) except+
  9. ctypedef THolder[TStringOutput] TStringOutputPtr