diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:17 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:17 +0300 |
commit | d3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch) | |
tree | dd4bd3ca0f36b817e96812825ffaf10d645803f2 /contrib/tools/cython/Cython/Includes/libcpp/cast.pxd | |
parent | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff) | |
download | ydb-d3a398281c6fd1d3672036cb2d63f842d2cb28c5.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/tools/cython/Cython/Includes/libcpp/cast.pxd')
-rw-r--r-- | contrib/tools/cython/Cython/Includes/libcpp/cast.pxd | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/contrib/tools/cython/Cython/Includes/libcpp/cast.pxd b/contrib/tools/cython/Cython/Includes/libcpp/cast.pxd index b0ce3b9b3d..c3a4d8978f 100644 --- a/contrib/tools/cython/Cython/Includes/libcpp/cast.pxd +++ b/contrib/tools/cython/Cython/Includes/libcpp/cast.pxd @@ -1,12 +1,12 @@ -# Defines the standard C++ cast operators. -# -# Due to type restrictions, these are only defined for pointer parameters, -# however that is the only case where they are significantly more interesting -# than the standard C cast operator which can be written "<T>(expression)" in -# Cython. - +# Defines the standard C++ cast operators. +# +# Due to type restrictions, these are only defined for pointer parameters, +# however that is the only case where they are significantly more interesting +# than the standard C cast operator which can be written "<T>(expression)" in +# Cython. + cdef extern from * nogil: - cdef T dynamic_cast[T](void *) except + # nullptr may also indicate failure - cdef T static_cast[T](void *) - cdef T reinterpret_cast[T](void *) - cdef T const_cast[T](void *) + cdef T dynamic_cast[T](void *) except + # nullptr may also indicate failure + cdef T static_cast[T](void *) + cdef T reinterpret_cast[T](void *) + cdef T const_cast[T](void *) |