aboutsummaryrefslogblamecommitdiffstats
path: root/util/string/cast.pxd
blob: dc23619e1e6db54c92a3e3a4529c7245d6c6dd53 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                        
                                  
                                              
                                                        
 
                                                         
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 +