Skip to content

Commit aabef18

Browse files
committed
liburing.h: Add noexcept specifiers for C++
A new object macro `LIBURING_NOEXCEPT` is defined to `noexcept` when compiling as C++ and left empty when compiling as C. This macro is applied to all exported and inline functions in the header files. A check for C++ >= 2011 is omitted because the library already assumes this in other places. Fixes: #1117 Signed-off-by: Rohan Hendrik Lean <rohan@rohanlean.de>
1 parent 11e47e4 commit aabef18

3 files changed

Lines changed: 278 additions & 85 deletions

File tree

0 commit comments

Comments
 (0)