⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 output.h

📁 代码格式化工具。 其实就是linux下indent的windows版本。
💻 H
字号:
#ifndef OUTPUT_H#define OUTPUT_H#include <sys/stat.h>#include "indent.h"#include "memfile.h"typedef struct buf_break_st{  struct buf_break_st *next;    /* The first possible break point to the right, if any. */  struct buf_break_st *prev;    /* The first possible break point to the left, if any. */  int offset;                   /* The break point: the first character in the buffer that will                                   not be put on this line any more. */  char *corresponds_to;         /* If ptr equals s_code and this equals s_code_corresponds_to,                                   then parser_state_toc->procname is valid. */  int target_col;               /* Indentation column if we would break the line here. */  int first_level;  int level;                    /* Number of open '(' and '['. */  int col;                      /* The number of columns left of the break point, before the break. */  int priority_code_length;     /* Used to calculate the priority of this break point: */  bb_code_ty priority_code;  int priority_newline;         /* Set when in the input file there was a newline at this place. */  int priority;} buf_break_st_ty;extern buf_break_st_ty * buf_break;extern int           buf_break_used;extern int           prev_target_col_break;extern void clear_buf_break_list (void);extern void set_buf_break (    bb_code_ty code,    int paren_targ);extern void dump_line (    int  force_nl,    int *paren_targ);extern void flush_output(void);extern void open_output(    const char * filename,    const char * mode);     extern void reopen_output_trunc(    const char * filename);extern void close_output(    struct stat * file_stats,     const char  * filename);extern inhibit_indenting(    BOOLEAN flag);extern MEMFILE* get_output();extern void clear_output();#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -