aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/cast.pxd
blob: b0fcc8123f0ce58cfc7bfb153ba18706d2ad25ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
from util.generic.string cimport TString 
 
from libcpp cimport bool as bool_t

cdef extern from "<util/string/cast.h>" nogil: 
    T FromString[T](const TString&) except +
    bool_t TryFromString[T](const TString&, T&) except +
    TString ToString[T](const T&) except +

    cdef double StrToD(const char* b, char** se) except +