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:
@@ -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