17 行
362 B
C
17 行
362 B
C
#ifndef PAZE_ERROR_H
|
|
#define PAZE_ERROR_H
|
|
#include "paze/paze_types.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* 全局错误信息(线程不严格隔离,够用)。返回最近一次错误描述。 */
|
|
const char *paze_err_str(paze_status_t s);
|
|
void paze_set_err(const char *fmt, ...);
|
|
const char *paze_last_err(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|