FICHA · AUR

python-guardonce

Utilities for converting from C/C++ include guards to #pragma once and back again

  • C/C++ include guard converter
  • CLI
  • Launchable
  • Runs in terminal
official+codex · reviewed · Jun 3, 2026 description in en

Description

C and C++ headers can be converted between include guards and pragma once. Developers use this utility during source modernization or style cleanup. It intentionally rewrites source files, so diffs and build compatibility should be reviewed.

How to run

guardonce

Commands: guardonce

Permissions

Permissions not analysed for this source yet.