📄 dbgcheck.h
字号:
#ifndef __DBGCHECK_H__#define __DBGCHECK_H__#include <stdbool.h>#ifdef DEBUG #ifndef SIMULATOR /* check whether a function is inside the valid memory location */ #define IS_FUNCPTR(fp) ({/ extern char _text[];/ extern char _etext[];/ ((((char *)(fp)) >= _text) && (((char *)(fp)) < _etext)/ }) #else /* check whether a function is inside the valid memory location */ #define IS_FUNCPTR(fp) (((char*)(fp)) != NULL) #endif#else /* check whether a function is inside the valid memory location */ #define IS_FUNCPRT (fp) true#endif#endif // #ifndef __DBGCHECK_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -