MCPcopy Create free account
hub / github.com/cppfastio/fast_io / throw_cs_error

Function throw_cs_error

include/fast_io_driver/capstone.h:13–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11};
12
13inline void throw_cs_error(cs_err e [[maybe_unused]])
14{
15#ifdef __cpp_exceptions
16#if defined(_MSC_VER) && (!defined(_HAS_EXCEPTIONS) || _HAS_EXCEPTIONS == 0)
17 fast_terminate();
18#else
19 throw cs_error{e};
20#endif
21#else
22 fast_terminate();
23#endif
24}
25
26namespace details
27{

Callers 2

cs_option_wrapper_implFunction · 0.85
cs_fileMethod · 0.85

Calls 1

fast_terminateFunction · 0.85

Tested by

no test coverage detected