]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
doc/conf.py: define CEPH_RADOS_API for breathe
authorKefu Chai <kchai@redhat.com>
Fri, 28 Aug 2020 10:20:13 +0000 (18:20 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 1 Nov 2021 16:08:39 +0000 (00:08 +0800)
commit9537bbf0eb8dbf7ca55c9baafd6a26b44af83267
tree61ea51fb7fc2ef1b77e1dab84020dd13994972d4
parent5f8f263c1938598ca6596640ed8d10386f8c527a
doc/conf.py: define CEPH_RADOS_API for breathe

otherwise we could have following errors:

Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 18]
      CEPH_RADOS_API int rados_aio_append (rados_ioctx_t io, const char *oid, rados_completion_t completion, const char *buf, size_t len)
      ------------------^

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit cf357e17ab5cbd9af4f67c51117b5f368cb9913f)
doc/conf.py