1
0

Replace public header guards to avoid using indentifiers reserved by c++

Usually something like __IRR_SOME_GUARD_INCLUDED__ replaced by IRR_SOME_GUARD_INCLUDED.
Removing underscores at the end wasn't necessary, but more symmetric (probably the reason they got added there as well).
While this touches every header it shouldn't affect users (I hope).

Also a few whitespace changes to unify whitespace usage a bit.
And a bunch of spelling fixes in comments.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6252 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien
2021-08-27 15:03:34 +00:00
parent ffd7b63af0
commit 0c6385cb92
211 changed files with 502 additions and 659 deletions

View File

@@ -5,8 +5,8 @@
//! As of Irrlicht 1.6, position2d is a synonym for vector2d.
/** You should consider position2d to be deprecated, and use vector2d by preference. */
#ifndef __IRR_POSITION_H_INCLUDED__
#define __IRR_POSITION_H_INCLUDED__
#ifndef IRR_POSITION_H_INCLUDED
#define IRR_POSITION_H_INCLUDED
#include "vector2d.h"
@@ -28,5 +28,4 @@ typedef vector2d<s32> position2di;
// ...and use a #define to catch the rest, for (e.g.) position2d<f64>
#define position2d vector2d
#endif // __IRR_POSITION_H_INCLUDED__
#endif // IRR_POSITION_H_INCLUDED