File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ class IFactoryObject
2020inline IFactoryObject::~IFactoryObject () {}
2121inline IFactoryObject *IFactoryObject::_construct () { return this ; }
2222
23- using DLL_Pure = IFactoryObject;
24-
2523class ENGINE_API FactoryObjectBase : public IFactoryObject
2624{
2725public:
@@ -36,8 +34,8 @@ class ENGINE_API FactoryObjectBase : public IFactoryObject
3634
3735// Class creation/destroying interface
3836extern " 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
Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ class CSE_Abstract;
2020namespace 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};
You can’t perform that action at this time.
0 commit comments