Skip to content

Commit e30e0b5

Browse files
committed
Corrections
1 parent b738785 commit e30e0b5

36 files changed

+113
-113
lines changed

include/EDeviceTypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace irr
2828

2929
//! A device which uses Simple DirectMedia Layer
3030
/** The SDL device works under all platforms supported by SDL but first must be compiled
31-
in by defining the IRR_USE_SDL_DEVICE macro in IrrCompileConfig.h */
31+
in by defining the NBL_USE_SDL_DEVICE macro in IrrCompileConfig.h */
3232
EIDT_SDL,
3333

3434
//! A device for raw framebuffer access

include/irr/core/containers/FixedCapacityDoublyLinkedList.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ namespace impl
6969
FixedCapacityDoublyLinkedListBase(const uint32_t capacity, void*& _reservedSpace, T*& _array)
7070
{
7171
const auto firstPart = core::alignUp(PoolAddressAllocator<uint32_t>::reserved_size(1u,capacity,1u),alignof(T));
72-
_reservedSpace = _IRR_ALIGNED_MALLOC(firstPart+capacity*sizeof(T),alignof(T));
72+
_reservedSpace = _NBL_ALIGNED_MALLOC(firstPart+capacity*sizeof(T),alignof(T));
7373
_array = reinterpret_cast<T*>(reinterpret_cast<uint8_t*>(_reservedSpace)+firstPart);
7474
}
7575
};
@@ -165,7 +165,7 @@ class FixedCapacityDoublyLinkedList : private impl::FixedCapacityDoublyLinkedLis
165165
}
166166
~FixedCapacityDoublyLinkedList()
167167
{
168-
_IRR_ALIGNED_FREE(m_reservedSpace);
168+
_NBL_ALIGNED_FREE(m_reservedSpace);
169169
}
170170

171171
private:

include/irr/core/containers/LRUCache.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class LRUCache : private impl::LRUCacheBase<Key,Value,MapHash,MapEquals>
137137
m_shortcut_map.reserve(capacity);
138138
}
139139

140-
#ifdef _IRR_DEBUG
140+
#ifdef _NBL_DEBUG
141141
inline void print()
142142
{
143143
auto node = m_list.getBegin();
@@ -149,7 +149,7 @@ class LRUCache : private impl::LRUCacheBase<Key,Value,MapHash,MapEquals>
149149
node = m_list.get(node->next);
150150
}
151151
}
152-
#endif // _IRR_DEBUG
152+
#endif // _NBL_DEBUG
153153

154154
//insert an element into the cache, or update an existing one with the same key
155155
inline void insert(Key&& k, Value&& v) { common_insert(std::move(k), std::move(v)); }

include/irr/ext/Blur/CBlurPerformer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// This file is part of the "Nabla Engine".
33
// For conditions of distribution and use, see copyright notice in nabla.h
44

5-
#ifndef _IRR_EXT_BLUR_C_BLUR_PERFORMER_INCLUDED_
6-
#define _IRR_EXT_BLUR_C_BLUR_PERFORMER_INCLUDED_
5+
#ifndef _NBL_EXT_BLUR_C_BLUR_PERFORMER_INCLUDED_
6+
#define _NBL_EXT_BLUR_C_BLUR_PERFORMER_INCLUDED_
77

88
#include <cstdint>
99
#include <tuple>

include/irr/ext/Bullet/BulletUtility.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// This file is part of the "Nabla Engine".
33
// For conditions of distribution and use, see copyright notice in nabla.h
44

5-
#ifndef _IRR_EXT_BULLET_UTILITY_INCLUDED_
6-
#define _IRR_EXT_BULLET_UTILITY_INCLUDED_
5+
#ifndef _NBL_EXT_BULLET_UTILITY_INCLUDED_
6+
#define _NBL_EXT_BULLET_UTILITY_INCLUDED_
77

88
#include "irrlicht.h"
99
#include <cstdint>

include/irr/ext/Bullet/CDebugRender.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// This file is part of the "Nabla Engine".
33
// For conditions of distribution and use, see copyright notice in nabla.h
44

5-
#ifndef _IRR_EXT_BULLET_C_DEBUG_RENDER_INCLUDED_
6-
#define _IRR_EXT_BULLET_C_DEBUG_RENDER_INCLUDED_
5+
#ifndef _NBL_EXT_BULLET_C_DEBUG_RENDER_INCLUDED_
6+
#define _NBL_EXT_BULLET_C_DEBUG_RENDER_INCLUDED_
77

88
#include "irrlicht.h"
99
#include "irr/core/IReferenceCounted.h"

include/irr/ext/Bullet/CInstancedMotionState.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// This file is part of the "Nabla Engine".
33
// For conditions of distribution and use, see copyright notice in nabla.h
44

5-
#ifndef _IRR_EXT_BULLET_C_INSTANCED_MOTION_STATE_INCLUDED_
6-
#define _IRR_EXT_BULLET_C_INSTANCED_MOTION_STATE_INCLUDED_
5+
#ifndef _NBL_EXT_BULLET_C_INSTANCED_MOTION_STATE_INCLUDED_
6+
#define _NBL_EXT_BULLET_C_INSTANCED_MOTION_STATE_INCLUDED_
77

88
#include <cstdint>
99
#include "irrlicht.h"

include/irr/ext/Bullet/CPhysicsWorld.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// This file is part of the "Nabla Engine".
33
// For conditions of distribution and use, see copyright notice in nabla.h
44

5-
#ifndef _IRR_EXT_BULLET_C_PHYSICS_WORLD_INCLUDED_
6-
#define _IRR_EXT_BULLET_C_PHYSICS_WORLD_INCLUDED_
5+
#ifndef _NBL_EXT_BULLET_C_PHYSICS_WORLD_INCLUDED_
6+
#define _NBL_EXT_BULLET_C_PHYSICS_WORLD_INCLUDED_
77

88
#include <cstdint>
99
#include <type_traits>
@@ -37,14 +37,14 @@ class CPhysicsWorld : public core::IReferenceCounted {
3737

3838
template<class btObject, typename... Args>
3939
inline btObject *createbtObject(Args&&... args) {
40-
void *mem = _IRR_ALIGNED_MALLOC(sizeof(btObject), 32u);
40+
void *mem = _NBL_ALIGNED_MALLOC(sizeof(btObject), 32u);
4141
return new(mem) btObject(std::forward<Args>(args)...);
4242
}
4343

4444
template<class btObject>
4545
inline void deletebtObject(btObject *obj) {
4646
obj->~btObject();
47-
_IRR_ALIGNED_FREE(obj);
47+
_NBL_ALIGNED_FREE(obj);
4848
}
4949

5050

include/irr/ext/Bullet/IMotionStateBase.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// This file is part of the "Nabla Engine".
33
// For conditions of distribution and use, see copyright notice in nabla.h
44

5-
#ifndef _IRR_EXT_BULLET_I_MOTION_STATE_BASE_INCLUDED_
6-
#define _IRR_EXT_BULLET_I_MOTION_STATE_BASE_INCLUDED_
5+
#ifndef _NBL_EXT_BULLET_I_MOTION_STATE_BASE_INCLUDED_
6+
#define _NBL_EXT_BULLET_I_MOTION_STATE_BASE_INCLUDED_
77

88
#include <cstdint>
99
#include "irrlicht.h"

include/irr/ext/CEGUI/CEGUIOpenGLClip.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ SOFTWARE.
2525
2626
*/
2727

28-
#ifndef _IRR_EXT_CEGUI_OPENGL_CLIP_INCLUDED_
29-
#define _IRR_EXT_CEGUI_OPENGL_CLIP_INCLUDED_
28+
#ifndef _NBL_EXT_CEGUI_OPENGL_CLIP_INCLUDED_
29+
#define _NBL_EXT_CEGUI_OPENGL_CLIP_INCLUDED_
3030

3131
namespace irr
3232
{
@@ -47,4 +47,4 @@ void resetOpenGLClip();
4747
} // namespace ext
4848
} // namespace irr
4949

50-
#endif // _IRR_EXT_CEGUI_OPENGL_CLIP_INCLUDED_
50+
#endif

0 commit comments

Comments
 (0)