feat 新的运行时环境
This commit is contained in:
9
runtime/libcore/include/core_macro.h
Normal file
9
runtime/libcore/include/core_macro.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef __SMCC_CORE_MACRO_H__
|
||||
#define __SMCC_CORE_MACRO_H__
|
||||
|
||||
#define _SMCC_STR(str) #str
|
||||
#define SMCC_STR(str) _SMCC_STR(str)
|
||||
|
||||
#define SMCC_ARRLEN(arr) (sizeof(arr) / sizeof(arr[0]))
|
||||
|
||||
#endif // __SMCC_CORE_MACRO_H__
|
||||
Reference in New Issue
Block a user