📄 gdkxynth.h
字号:
#include <assert.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#define XYNTH_DEBUG_LEVEL 1#if XYNTH_DEBUG_LEVEL > 0#define DEBUG(fmt...) {\ printf(fmt);\ printf(" [%s (%s:%d)]\n", __FUNCTION__, __FILE__, __LINE__);\}#else#define DEBUG(fmt...) do { } while (0)#endif#if XYNTH_DEBUG_LEVEL > 1#define ENTER() DEBUG("Enter");#define LEAVE() DEBUG("Leave");#else#define ENTER() do { } while (0)#define LEAVE() do { } while (0)#endif#define NIY() {\ DEBUG("Not Implemented Yet");\}#define ASSERT() {\ DEBUG("This should not happen");\ assert(0);\}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -