Style: Replace header guards with #pragma once

This commit is contained in:
Thaddeus Crews
2025-02-01 10:33:58 -06:00
parent 96fdaa616b
commit 324512e11c
1746 changed files with 1767 additions and 6920 deletions

View File

@@ -28,12 +28,9 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef ZIP_REGISTER_TYPES_H
#define ZIP_REGISTER_TYPES_H
#pragma once
#include "modules/register_module_types.h"
void initialize_zip_module(ModuleInitializationLevel p_level);
void uninitialize_zip_module(ModuleInitializationLevel p_level);
#endif // ZIP_REGISTER_TYPES_H

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef ZIP_PACKER_H
#define ZIP_PACKER_H
#pragma once
#include "core/io/file_access.h"
#include "core/object/ref_counted.h"
@@ -64,5 +63,3 @@ public:
};
VARIANT_ENUM_CAST(ZIPPacker::ZipAppend)
#endif // ZIP_PACKER_H

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef ZIP_READER_H
#define ZIP_READER_H
#pragma once
#include "core/io/file_access.h"
#include "core/object/ref_counted.h"
@@ -56,5 +55,3 @@ public:
ZIPReader();
~ZIPReader();
};
#endif // ZIP_READER_H