aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/cast.pxd
blob: c351ab8cbc21c5aab48379cc21f2be3e03ca0ba1 (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 +