Go to the documentation of this file.
18 #if defined(_WIN32) && !(defined(__GNUC__) || defined(__GCCXML__)) && !defined(_RAKNET_LIB) && defined(_RAKNET_DLL)
19 #define RAK_DLL_EXPORT __declspec(dllexport)
21 #define RAK_DLL_EXPORT
24 #define STATIC_FACTORY_DECLARATIONS(x) static x* GetInstance(void); \
25 static void DestroyInstance( x *i);
27 #define STATIC_FACTORY_DEFINITIONS(x,y) x* x::GetInstance(void) {return SLNet::OP_NEW<y>( _FILE_AND_LINE_ );} \
28 void x::DestroyInstance( x *i) {SLNet::OP_DELETE(( y* ) i, _FILE_AND_LINE_);}