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,10 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef ANDROID_API_H
#define ANDROID_API_H
#pragma once
void register_android_api();
void unregister_android_api();
#endif // ANDROID_API_H

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef JAVA_CLASS_WRAPPER_H
#define JAVA_CLASS_WRAPPER_H
#pragma once
#include "core/object/ref_counted.h"
#include "core/variant/typed_array.h"
@@ -296,5 +295,3 @@ public:
#endif
JavaClassWrapper();
};
#endif // JAVA_CLASS_WRAPPER_H

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef JNI_SINGLETON_H
#define JNI_SINGLETON_H
#pragma once
#include "java_class_wrapper.h"
@@ -103,5 +102,3 @@ public:
wrapped_object.unref();
}
};
#endif // JNI_SINGLETON_H