Style: Replace header guards with #pragma once
This commit is contained in:
parent
96fdaa616b
commit
324512e11c
1746 changed files with 1767 additions and 6920 deletions
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GODOT_WEBXR_H
|
||||
#define GODOT_WEBXR_H
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
@ -100,5 +99,3 @@ extern int godot_webxr_get_supported_frame_rates(float **r_frame_rates);
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // GODOT_WEBXR_H
|
||||
|
|
|
|||
|
|
@ -28,12 +28,9 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef WEBXR_REGISTER_TYPES_H
|
||||
#define WEBXR_REGISTER_TYPES_H
|
||||
#pragma once
|
||||
|
||||
#include "modules/register_module_types.h"
|
||||
|
||||
void initialize_webxr_module(ModuleInitializationLevel p_level);
|
||||
void uninitialize_webxr_module(ModuleInitializationLevel p_level);
|
||||
|
||||
#endif // WEBXR_REGISTER_TYPES_H
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef WEBXR_INTERFACE_H
|
||||
#define WEBXR_INTERFACE_H
|
||||
#pragma once
|
||||
|
||||
#include "servers/xr/xr_controller_tracker.h"
|
||||
#include "servers/xr/xr_interface.h"
|
||||
|
|
@ -78,5 +77,3 @@ public:
|
|||
};
|
||||
|
||||
VARIANT_ENUM_CAST(WebXRInterface::TargetRayMode);
|
||||
|
||||
#endif // WEBXR_INTERFACE_H
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef WEBXR_INTERFACE_JS_H
|
||||
#define WEBXR_INTERFACE_JS_H
|
||||
#pragma once
|
||||
|
||||
#ifdef WEB_ENABLED
|
||||
|
||||
|
|
@ -263,5 +262,3 @@ private:
|
|||
};
|
||||
|
||||
#endif // WEB_ENABLED
|
||||
|
||||
#endif // WEBXR_INTERFACE_JS_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue