refactor(Core): rename namespaces and macros to acore (#2454)

This commit is contained in:
Viste
2019-12-01 15:13:31 +03:00
committed by Francesco Borzì
parent e19e95e5d0
commit e22d78ecd6
278 changed files with 1292 additions and 1309 deletions

View File

@@ -4,8 +4,8 @@
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*/
#ifndef TRINITY_BYTECONVERTER_H
#define TRINITY_BYTECONVERTER_H
#ifndef ACORE_BYTECONVERTER_H
#define ACORE_BYTECONVERTER_H
/** ByteConverter reverse your byte order. This is use
for cross platform where they have different endians.
@@ -32,7 +32,7 @@ namespace ByteConverter
}
}
#if TRINITY_ENDIAN == TRINITY_BIGENDIAN
#if ACORE_ENDIAN == ACORE_BIGENDIAN
template<typename T> inline void EndianConvert(T& val) { ByteConverter::apply<T>(&val); }
template<typename T> inline void EndianConvertReverse(T&) { }
template<typename T> inline void EndianConvertPtr(void* val) { ByteConverter::apply<T>(val); }

View File

@@ -9,7 +9,7 @@
#include <ace/Event_Handler.h>
namespace Trinity
namespace acore
{
/// Handle termination signals

View File

@@ -9,7 +9,7 @@
#include "fmt/printf.h"
namespace ACORE
namespace acore
{
/// Default AC string format function.
template<typename Format, typename... Args>

View File

@@ -4,8 +4,8 @@
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*/
#ifndef TRINITY_TIMER_H
#define TRINITY_TIMER_H
#ifndef ACORE_TIMER_H
#define ACORE_TIMER_H
#include "ace/OS_NS_sys_time.h"
#include "Common.h"