forked from enlightenment/efl
[eina-cxx] Fixed EFL_CXX_THROW not defined
Fixed errors of EFL_CXX_THROW not defined when #include'ing specific eina C++ headers.
This commit is contained in:
parent
7acdf2b1dd
commit
8240676b01
|
@ -1,12 +1,5 @@
|
|||
#ifndef EINA_HH_
|
||||
#define EINA_HH_
|
||||
|
||||
#if defined ( EFL_CXX_NO_EXCEPTIONS )
|
||||
# define EFL_CXX_THROW(x) std::abort()
|
||||
#else
|
||||
# define EFL_CXX_THROW(x) throw (x)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @file
|
||||
* @brief Eina C++
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include <Eina.h>
|
||||
#include <eina_error.hh>
|
||||
#include <eina_throw.hh>
|
||||
|
||||
#include <memory>
|
||||
#include <iterator>
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
#include <Eina.h>
|
||||
|
||||
#include <eina_throw.hh>
|
||||
|
||||
#include <system_error>
|
||||
|
||||
/**
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include <eina_clone_allocators.hh>
|
||||
#include <eina_type_traits.hh>
|
||||
#include <eina_range_types.hh>
|
||||
#include <eina_throw.hh>
|
||||
|
||||
#include <memory>
|
||||
#include <iterator>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include <eina_accessor.hh>
|
||||
#include <eina_eo_base_fwd.hh>
|
||||
#include <eina_iterator.hh>
|
||||
#include <eina_throw.hh>
|
||||
|
||||
#include <memory>
|
||||
#include <iterator>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include <Eina.h>
|
||||
#include <eina_type_traits.hh>
|
||||
#include <eina_throw.hh>
|
||||
|
||||
#include <cstring>
|
||||
#include <stdexcept>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include <Eina.h>
|
||||
#include <eina_error.hh>
|
||||
#include <eina_throw.hh>
|
||||
|
||||
#include <memory>
|
||||
#include <iterator>
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#ifndef EFL_CXX_THROW
|
||||
|
||||
#ifdef EFL_CXX_NO_EXCEPTIONS
|
||||
# define EFL_CXX_THROW(x) std::abort()
|
||||
#else
|
||||
# define EFL_CXX_THROW(x) throw x
|
||||
#endif
|
||||
|
||||
#endif
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <eina_stringshare.hh>
|
||||
#include <eina_type_traits.hh>
|
||||
#include <eina_throw.hh>
|
||||
|
||||
/**
|
||||
* @addtogroup Eina_Cxx_Data_Types_Group
|
||||
|
|
Loading…
Reference in New Issue