*** empty log message ***

master
Marc Alexander Lehmann 2014-11-09 09:00:16 +00:00
parent 13d7bb7754
commit be06357069
2 changed files with 8 additions and 2 deletions

View File

@ -15,6 +15,8 @@ TODO: document portability requirements for atomic pointer access
TODO: possible cb aliasing?
TODO: document requirements for function pointers and calling conventions.
- prfer noexcept over throw () with C++ 11.
4.19 Thu Sep 25 08:18:25 CEST 2014
- ev.h wasn't valid C++ anymore, which tripped compilers other than
clang, msvc or gcc (analyzed by Raphael 'kena' Poss). Unfortunately,

8
ev.h
View File

@ -42,12 +42,16 @@
#ifdef __cplusplus
# define EV_CPP(x) x
# if __cplusplus >= 201103L
# define EV_THROW noexcept
# else
# define EV_THROW throw ()
# endif
#else
# define EV_CPP(x)
# define EV_THROW
#endif
#define EV_THROW EV_CPP(throw())
EV_CPP(extern "C" {)
/*****************************************************************************/