建立 MAG160C 逆向工程交接仓库
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#ifndef MAG160C_CORE_ERROR_HPP
|
||||
#define MAG160C_CORE_ERROR_HPP
|
||||
|
||||
#include "mag160c/mag160c.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace mag160c::core {
|
||||
|
||||
const char* error_name(mag160c_error_t code) noexcept;
|
||||
const char* last_error() noexcept;
|
||||
void clear_last_error();
|
||||
void set_last_error(std::string message);
|
||||
|
||||
} // namespace mag160c::core
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user