Skip to content

Commit a552302

Browse files
committed
Renamed header guards to follow this convention PYSFML_MODULE_FOOBAR
1 parent c240b5d commit a552302

File tree

7 files changed

+21
-21
lines changed

7 files changed

+21
-21
lines changed

src/sfml/audio/DerivableSoundRecorder.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
// 3. This notice may not be removed or altered from any source distribution.
2323
//------------------------------------------------------------------------------
2424

25-
#ifndef DERIVABLE_SOUND_RECORDER_HPP
26-
#define DERIVABLE_SOUND_RECORDER_HPP
25+
#ifndef PYSFML_AUDIO_DERIVABLESOUNDRECORDER_HPP
26+
#define PYSFML_AUDIO_DERIVABLESOUNDRECORDER_HPP
2727

2828
#include "Python.h"
2929
#include <SFML/Audio.hpp>
@@ -44,4 +44,4 @@ public :
4444
};
4545

4646

47-
#endif // DERIVABLE_SOUND_RECORDER_HPP
47+
#endif // PYSFML_AUDIO_DERIVABLESOUNDRECORDER_HPP

src/sfml/audio/DerivableSoundStream.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
// 3. This notice may not be removed or altered from any source distribution.
2323
//------------------------------------------------------------------------------
2424

25-
#ifndef DERIVABLE_SOUND_STREAM_HPP
26-
#define DERIVABLE_SOUND_STREAM_HPP
25+
#ifndef PYSFML_SYSTEM_DERIVABLESOUNDSTREAM_HPP
26+
#define PYSFML_SYSTEM_DERIVABLESOUNDSTREAM_HPP
2727

2828
#include "Python.h"
2929
#include <SFML/Audio.hpp>
@@ -45,4 +45,4 @@ public :
4545
PyObject* m_pyobj;
4646
};
4747

48-
#endif // DERIVABLE_SOUND_STREAM_HPP
48+
#endif // PYSFML_SYSTEM_DERIVABLESOUNDSTREAM_HPP

src/sfml/graphics/DerivableDrawable.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
// 3. This notice may not be removed or altered from any source distribution.
2323
//------------------------------------------------------------------------------
2424

25-
#ifndef PYSFML_DERIVABLEDRAWABLE_HPP
26-
#define PYSFML_DERIVABLEDRAWABLE_HPP
25+
#ifndef PYSFML_GRAPHICS_DERIVABLEDRAWABLE_HPP
26+
#define PYSFML_GRAPHICS_DERIVABLEDRAWABLE_HPP
2727

2828
#include "Python.h"
2929
#include <SFML/Graphics/Drawable.hpp>
@@ -39,4 +39,4 @@ class DerivableDrawable : public sf::Drawable
3939
PyObject* m_object;
4040
};
4141

42-
#endif // PYSFML_DERIVABLEDRAWABLE_HPP
42+
#endif // PYSFML_GRAPHICS_DERIVABLEDRAWABLE_HPP

src/sfml/graphics/DerivableRenderWindow.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
// 3. This notice may not be removed or altered from any source distribution.
2323
//------------------------------------------------------------------------------
2424

25-
#ifndef PYSFML_DERIVABLERENDERWINDOW_HPP
26-
#define PYSFML_DERIVABLERENDERWINDOW_HPP
25+
#ifndef PYSFML_GRAPHICS_DERIVABLERENDERWINDOW_HPP
26+
#define PYSFML_GRAPHICS_DERIVABLERENDERWINDOW_HPP
2727

2828
#include "Python.h"
2929
#include <SFML/Graphics/RenderWindow.hpp>
@@ -41,4 +41,4 @@ class DerivableRenderWindow : public sf::RenderWindow
4141
PyObject* m_object;
4242
};
4343

44-
#endif // PYSFML_DERIVABLERENDERWINDOW_HPP
44+
#endif // PYSFML_GRAPHICS_DERIVABLERENDERWINDOW_HPP

src/sfml/system/error.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
// 3. This notice may not be removed or altered from any source distribution.
2323
//------------------------------------------------------------------------------
2424

25-
#ifndef PYSFML_ERROR_HPP
26-
#define PYSFML_ERROR_HPP
25+
#ifndef PYSFML_SYSTEM_ERROR_HPP
26+
#define PYSFML_SYSTEM_ERROR_HPP
2727

2828
#include "Python.h"
2929

3030
void restorePythonErrorBuffer();
3131
PyObject* getLastErrorMessage();
3232

33-
#endif // PYSFML_ERROR_HPP
33+
#endif // PYSFML_SYSTEM_ERROR_HPP

src/sfml/system/hacks.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
// 3. This notice may not be removed or altered from any source distribution.
2323
//------------------------------------------------------------------------------
2424

25-
#ifndef PYSFML_HACKS_HPP
26-
#define PYSFML_HACKS_HPP
25+
#ifndef PYSFML_SYSTEM_HACKS_HPP
26+
#define PYSFML_SYSTEM_HACKS_HPP
2727

2828
#include <Python.h>
2929
#include <SFML/System.hpp>
@@ -39,4 +39,4 @@ float Time_div_Time(sf::Time left, sf::Time right);
3939
void Time_idiv_int(sf::Time& left, sf::Int64 right);
4040
void Time_idiv_float(sf::Time& left, float right);
4141

42-
#endif // PYSFML_HACKS_HPP
42+
#endif // PYSFML_SYSTEM_HACKS_HPP

src/sfml/window/DerivableWindow.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
// 3. This notice may not be removed or altered from any source distribution.
2323
//------------------------------------------------------------------------------
2424

25-
#ifndef PYSFML_DERIVABLEWINDOW_HPP
26-
#define PYSFML_DERIVABLEWINDOW_HPP
25+
#ifndef PYSFML_WINDOW_DERIVABLEWINDOW_HPP
26+
#define PYSFML_WINDOW_DERIVABLEWINDOW_HPP
2727

2828
#include "Python.h"
2929
#include <SFML/Window/Window.hpp>
@@ -41,4 +41,4 @@ class DerivableWindow : public sf::Window
4141
PyObject* m_object;
4242
};
4343

44-
#endif // PYSFML_DERIVABLEWINDOW_HPP
44+
#endif // PYSFML_WINDOW_DERIVABLEWINDOW_HPP

0 commit comments

Comments
 (0)