You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Style: Replace header guards with #pragma once
This commit is contained in:
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef IMAGE_LOADER_TINYEXR_H
|
||||
#define IMAGE_LOADER_TINYEXR_H
|
||||
#pragma once
|
||||
|
||||
#include "core/io/image_loader.h"
|
||||
|
||||
@@ -39,5 +38,3 @@ public:
|
||||
virtual void get_recognized_extensions(List<String> *p_extensions) const;
|
||||
ImageLoaderTinyEXR();
|
||||
};
|
||||
|
||||
#endif // IMAGE_LOADER_TINYEXR_H
|
||||
|
||||
@@ -28,12 +28,9 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef IMAGE_SAVER_TINYEXR_H
|
||||
#define IMAGE_SAVER_TINYEXR_H
|
||||
#pragma once
|
||||
|
||||
#include "core/io/image.h"
|
||||
|
||||
Error save_exr(const String &p_path, const Ref<Image> &p_img, bool p_grayscale);
|
||||
Vector<uint8_t> save_exr_buffer(const Ref<Image> &p_img, bool p_grayscale);
|
||||
|
||||
#endif // IMAGE_SAVER_TINYEXR_H
|
||||
|
||||
@@ -28,12 +28,9 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef TINYEXR_REGISTER_TYPES_H
|
||||
#define TINYEXR_REGISTER_TYPES_H
|
||||
#pragma once
|
||||
|
||||
#include "modules/register_module_types.h"
|
||||
|
||||
void initialize_tinyexr_module(ModuleInitializationLevel p_level);
|
||||
void uninitialize_tinyexr_module(ModuleInitializationLevel p_level);
|
||||
|
||||
#endif // TINYEXR_REGISTER_TYPES_H
|
||||
|
||||
Reference in New Issue
Block a user