]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/rados: extract non-shared interface definitions into c_rados.pxd
authorKefu Chai <kchai@redhat.com>
Wed, 2 Dec 2020 12:43:04 +0000 (20:43 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 5 Dec 2020 14:09:21 +0000 (22:09 +0800)
commitb86ed55535e80292642accf0ab3e3ef04a2a8353
treeb675ba80c37259052068212a19dace1dc9d559fa
parentfb825ddd2fb6d275078ae4edd03851c1a6de2a40
pybind/rados: extract non-shared interface definitions into c_rados.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, but importable python bindgs of rados,ceph,rbd,cephfs are required.

also move the time.h declarations into ctime.pxd, are they can be shared
by the stub implementation and the non-stub one.

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