From: Kefu Chai Date: Mon, 12 Oct 2020 07:38:48 +0000 (+0800) Subject: pybind/rados: correct the declarations of C APIs X-Git-Tag: v15.2.10~36^2~11 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2b8b3a992b1d4a77dec43a5cfc8b81a426c97607;p=ceph.git pybind/rados: correct the declarations of C APIs so they are consistent with the ones declared in include/rados/librados.h Signed-off-by: Kefu Chai (cherry picked from commit 31db9ce5dc21c769d78e615c2335bd2dbd94f321) Conflicts: src/pybind/rados/rados.pyx: trivial resolution --- diff --git a/src/pybind/rados/rados.pyx b/src/pybind/rados/rados.pyx index b9fa1abcede93..19e1088d1df37 100644 --- a/src/pybind/rados/rados.pyx +++ b/src/pybind/rados/rados.pyx @@ -242,7 +242,7 @@ cdef extern from "rados/librados.h" nogil: void rados_ioctx_snap_set_read(rados_ioctx_t io, rados_snap_t snap) int rados_ioctx_snap_list(rados_ioctx_t io, rados_snap_t * snaps, int maxlen) int rados_ioctx_snap_get_stamp(rados_ioctx_t io, rados_snap_t id, time_t * t) - uint64_t rados_ioctx_get_id(rados_ioctx_t io) + int64_t rados_ioctx_get_id(rados_ioctx_t io) int rados_ioctx_get_pool_name(rados_ioctx_t io, char *buf, unsigned maxlen) int rados_ioctx_selfmanaged_snap_create(rados_ioctx_t io,