]> 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>
Fri, 28 Aug 2020 12:35:21 +0000 (20:35 +0800)
commitcf357e17ab5cbd9af4f67c51117b5f368cb9913f
tree1f9b57980a1030164cc12c36c2d90257d38a8dd5
parentfa7ea358328edc993839c2facf7fc91bc324ee34
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>
doc/conf.py