feat: rename core types to scc prefix for consistency
Updated type names from `core_*` to `scc_*` across lex_parser and stream modules to maintain naming consistency within the SCC codebase. This includes changes to function signatures and internal usage of types like `core_probe_stream_t`, `core_pos_t`, and `cstring_t` to their `scc_*` counterparts.
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
* 提供跨平台的终端文本颜色和样式控制支持
|
||||
*/
|
||||
|
||||
#ifndef __SMCC_TERMINAL_COLOR_H__
|
||||
#define __SMCC_TERMINAL_COLOR_H__
|
||||
#ifndef __SCC_TERMINAL_COLOR_H__
|
||||
#define __SCC_TERMINAL_COLOR_H__
|
||||
|
||||
/* clang-format off */
|
||||
/// @name 前景色控制码
|
||||
@@ -58,4 +58,4 @@
|
||||
#define ANSI_FMT(str, fmt) str ///< 禁用样式输出
|
||||
#endif
|
||||
|
||||
#endif // __SMCC_TERMINAL_COLOR_H__
|
||||
#endif /* __SCC_TERMINAL_COLOR_H__ */
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
* @brief 日志系统核心模块(支持多级日志、断言和异常处理)
|
||||
*/
|
||||
|
||||
#ifndef __SMCC_LOG_H__
|
||||
#define __SMCC_LOG_H__
|
||||
#ifndef __SCC_LOG_H__
|
||||
#define __SCC_LOG_H__
|
||||
|
||||
#include "color.h"
|
||||
|
||||
#ifdef __SMCC_LOG_USE_STD_IMPL__
|
||||
#ifdef __SCC_LOG_USE_STD_IMPL__
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#define log_snprintf snprintf
|
||||
@@ -206,8 +206,8 @@ void logger_destroy(logger_t *logger);
|
||||
PanicFmt("FIXME " __LOG_STR(str)) ///< 提醒开发者修改代码(触发致命错误)
|
||||
/// @}
|
||||
|
||||
#ifdef __SMCC_LOG_IMPORT_SRC__
|
||||
#ifdef __SCC_LOG_IMPORT_SRC__
|
||||
#include "log.c"
|
||||
#endif
|
||||
|
||||
#endif // __SMCC_LOG_H__
|
||||
#endif /* __SCC_LOG_H__ */
|
||||
|
||||
Reference in New Issue
Block a user