aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/str.pxd
blob: 76dc16a822092ee7bd0f0f27b054becd740cc8a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
from util.generic.ptr cimport THolder
from util.generic.string cimport TString, TStringBuf
from util.stream.output cimport IOutputStream


cdef extern from "<util/stream/str.h>" nogil:
    cdef cppclass TStringOutput(IOutputStream):
        TStringOutput() except+
        TStringOutput(TString&) except+
        void Reserve(size_t) except+

ctypedef THolder[TStringOutput] TStringOutputPtr