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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。