1 Star 0 Fork 0

XY.LongzzZ/vim-headerguard

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.rst 953 Bytes
一键复制 编辑 原始数据 按行查看 历史

Headerguard - Add header guards to C/C++ header files

It is a common practice to insert header guards into C/C++ header files to allow a header to be included multiple times. A header guard for file HeaderName.h typically looks something like this:

#ifndef HEADERNAME_H
#define HEADERNAME_H

  ...header content...

#endif /* HEADERNAME_H */

Headerguard provides methods for inserting and updating header guards, and for tailoring the header guard style to fit local conventions. It checks for a pre-existing header guard, and if found, modifies the existing guard in-place.

See documentation in doc/headerguard.txt for installation, customization, and usage instructions.

Developed by Michael Henry (vim at drmikehenry.com).

Distributed under Vim's license.

Git repository: https://github.com/drmikehenry/vim-headerguard

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/XYLongzzZ/vim-headerguard.git
git@gitee.com:XYLongzzZ/vim-headerguard.git
XYLongzzZ
vim-headerguard
vim-headerguard
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385