Header Guard plugin

From CodeBlocks
Revision as of 04:00, 28 October 2011 by Alpha (Talk | contribs) (Created page with "Category:Code::Blocks 3rd Party Plugins {{Infobox_Plugin| name = Header Guard | logo = File:Generic-plugin.png | developer = | maintainer = | version = 0.1.1 }}...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Header Guard
Generic-plugin.png
Developer(s):
Maintainer(s):
Version: 0.1.1

Adds a header guard to every .h file that doesn't have one when saving. Filenames are hashed to a 64-bit hex number to support umlaut characters (and Kanji, Cyrillic, or whatever) regardless of file encoding, and regardless of what's legal as a C/C++ macro name.

Header guard is included in Code::Blocks source code (src/plugins/headerguard/), however, it is not built by default.