1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Style: Integrate #pragma once in builders/checks

This commit is contained in:
Thaddeus Crews
2025-02-01 10:11:55 -06:00
parent 7459a0361d
commit 96fdaa616b
17 changed files with 44 additions and 197 deletions

View File

@@ -55,8 +55,7 @@ def generate_ucaps_fetch() -> None:
source: str = generate_copyright_header("ucaps.h")
source += f"""
#ifndef UCAPS_H
#define UCAPS_H
#pragma once
// This file was generated using the `misc/scripts/ucaps_fetch.py` script.
@@ -105,8 +104,6 @@ static int _find_lower(int ch) {
\treturn ch;
}
#endif // UCAPS_H
"""
ucaps_path: str = os.path.join(os.path.dirname(__file__), "../../core/string/ucaps.h")