mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Declare and use 'PLATFORM_INTERFACE' instead
This commit is contained in:
parent
a44b38eb15
commit
4c7d0325fa
@ -111,7 +111,7 @@ const char* CFactory::GetFactoryFullName(const string& svFactoryName) const
|
||||
//---------------------------------------------------------------------------------
|
||||
// Purpose: expose factory system to other dlls
|
||||
//---------------------------------------------------------------------------------
|
||||
extern "C" __declspec(dllexport) void* GetFactorySystem()
|
||||
CFactory* GetFactorySystem()
|
||||
{
|
||||
return g_pFactory;
|
||||
}
|
||||
|
@ -61,6 +61,8 @@ private:
|
||||
};
|
||||
extern CFactory* g_pFactory;
|
||||
|
||||
PLATFORM_INTERFACE CFactory* GetFactorySystem();
|
||||
|
||||
/* ==== s_pInterfaceRegs ==================================================================================================================================================== */
|
||||
inline CMemory s_pInterfacesRegs;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user