Skip to content

Commit c955da6

Browse files
author
nitrocaster
committed
Remove DLL_Pure type alias.
1 parent 676b645 commit c955da6

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/xrEngine/EngineAPI.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ class IFactoryObject
2020
inline IFactoryObject::~IFactoryObject() {}
2121
inline IFactoryObject *IFactoryObject::_construct() { return this; }
2222

23-
using DLL_Pure = IFactoryObject;
24-
2523
class ENGINE_API FactoryObjectBase : public IFactoryObject
2624
{
2725
public:
@@ -36,8 +34,8 @@ class ENGINE_API FactoryObjectBase : public IFactoryObject
3634

3735
// Class creation/destroying interface
3836
extern "C" {
39-
typedef DLL_API DLL_Pure* __cdecl Factory_Create(CLASS_ID CLS_ID);
40-
typedef DLL_API void __cdecl Factory_Destroy(DLL_Pure* O);
37+
typedef DLL_API IFactoryObject* __cdecl Factory_Create(CLASS_ID CLS_ID);
38+
typedef DLL_API void __cdecl Factory_Destroy(IFactoryObject* O);
4139
};
4240

4341
// Tuning interface

src/xrServerEntities/object_factory_space.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ class CSE_Abstract;
2020
namespace ObjectFactory {
2121

2222
#ifndef NO_XR_GAME
23-
typedef DLL_Pure CLIENT_BASE_CLASS;
23+
typedef IFactoryObject CLIENT_BASE_CLASS;
2424
#endif
2525
typedef CSE_Abstract SERVER_BASE_CLASS;
2626

2727
#ifndef NO_XR_GAME
28-
typedef DLL_Pure CLIENT_SCRIPT_BASE_CLASS;
28+
typedef IFactoryObject CLIENT_SCRIPT_BASE_CLASS;
2929
#endif
3030
typedef CSE_Abstract SERVER_SCRIPT_BASE_CLASS;
3131
};

0 commit comments

Comments
 (0)