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

Function cs_option_wrapper_impl

include/fast_io_driver/capstone.h:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27{
28
29inline void cs_option_wrapper_impl(::std::size_t csh, cs_opt_type t, ::std::size_t value)
30{
31 auto ret{::fast_io::noexcept_call(::cs_option, csh, t, value)};
32 if (ret != CS_ERR_OK)
33 {
34 throw_cs_error(ret);
35 }
36}
37

Callers 1

optionMethod · 0.85

Calls 1

throw_cs_errorFunction · 0.85

Tested by

no test coverage detected