建立 MAG160C 逆向工程交接仓库

This commit is contained in:
ZXCLI
2026-08-11 19:08:44 +08:00
commit 8409b27ba3
3135 changed files with 534408 additions and 0 deletions
+18
View File
@@ -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