雾聪
2023-11-15 9dcd514dc7bde6842ad06f8b0aaea7e5c931192f
1
2
3
4
5
6
7
8
9
10
11
12
# See www.openfst.org for extensive documentation on this weighted
# finite-state transducer library.
 
 
from libcpp.memory cimport shared_ptr
 
 
# This is mysteriously missing from libcpp.memory.
 
cdef extern from "<memory>" namespace "std" nogil:
 
  shared_ptr[T] static_pointer_cast[T, U](const shared_ptr[U] &)