]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/rbd: extract non-shared interface definitions into c_rbd.pxd
authorKefu Chai <kchai@redhat.com>
Thu, 3 Dec 2020 08:11:21 +0000 (16:11 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 5 Dec 2020 14:09:21 +0000 (22:09 +0800)
commite63d4a8fe0f514f834df9fda4b9595e03ce86028
tree38e4d09d242259c86674b6bd7864750acbeea450
parent778fa7185d3a6bd1f5706e30b7f91880f7fad3f4
pybind/rbd: extract non-shared interface definitions into c_rbd.pxd

so it'd be simpler if we want to parse and generate the stub
for these declarations when building document where where the
annotations are used.

ctime.pxd is extracted so the time related declarations can be shared by
c_rbd.pxd and rbd.pyx.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/rbd/c_rbd.pxd [new file with mode: 0644]
src/pybind/rbd/ctime.pxd [new file with mode: 0644]
src/pybind/rbd/rbd.pyx