1
2
3
4
5
6 #include <cmajor/eh/Exception.hpp>
7 #include <typeinfo>
8
9 extern "C" void* EhGetExceptionTypeId()
10 {
11 const std::type_info& exceptionTypeId = typeid(cmajor::eh::Exception);
12 const void* ti = &exceptionTypeId;
13 return const_cast<void*>(ti);
14 }
15