Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 6 years ago
parent
commit
be06357069
2 changed files with 8 additions and 2 deletions
  1. +2
    -0
      Changes
  2. +6
    -2
      ev.h

+ 2
- 0
Changes 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,


+ 6
- 2
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" {)
/*****************************************************************************/


Loading…
Cancel
Save