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:
@@ -1,29 +1,14 @@
|
||||
#ifndef __SMCC_CORE_H__
|
||||
#define __SMCC_CORE_H__
|
||||
#ifndef __SCC_CORE_H__
|
||||
#define __SCC_CORE_H__
|
||||
|
||||
#include <core_log.h>
|
||||
|
||||
#include <core_impl.h>
|
||||
#include <core_macro.h>
|
||||
#include <core_mem.h>
|
||||
|
||||
#define __SMCC_LOG_NO_STD_IMPL__
|
||||
#ifndef log_snprintf
|
||||
#define log_snprintf smcc_snprintf
|
||||
#endif
|
||||
#ifndef log_printf
|
||||
#define log_printf smcc_eprintf
|
||||
#endif
|
||||
#ifndef log_exit
|
||||
#define log_exit smcc_exit
|
||||
#endif
|
||||
#include <log.h>
|
||||
|
||||
#define _SMCC_STR(str) #str
|
||||
#define SMCC_STR(str) _SMCC_STR(str)
|
||||
|
||||
#define SMCC_ARRLEN(arr) (sizeof(arr) / sizeof(arr[0]))
|
||||
#include <core_pos.h>
|
||||
#include <core_str.h>
|
||||
#include <core_stream.h>
|
||||
#include <core_vec.h>
|
||||
|
||||
#endif // __SMCC_CORE_H__
|
||||
#endif // __SCC_CORE_H__
|
||||
|
||||
Reference in New Issue
Block a user