You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Code quality: Fix header guards consistency
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
This commit is contained in:
@@ -28,8 +28,8 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef NATIVE_SCRIPT_H
|
||||
#define NATIVE_SCRIPT_H
|
||||
#ifndef NATIVESCRIPT_H
|
||||
#define NATIVESCRIPT_H
|
||||
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
@@ -391,4 +391,4 @@ class ResourceFormatSaverNativeScript : public ResourceFormatSaver {
|
||||
virtual void get_recognized_extensions(const RES &p_resource, List<String> *p_extensions) const;
|
||||
};
|
||||
|
||||
#endif // GDNATIVE_H
|
||||
#endif // NATIVESCRIPT_H
|
||||
|
||||
Reference in New Issue
Block a user