00001 #include "../pch.h" 00002 00003 extern "C" __declspec(dllexport) void* Create(const char*, Log* log) 00004 { 00005 return (IPhysic*)new Physic(); 00006 } 00007 00008 extern "C" __declspec(dllexport) bool Free(const char*, void* physic) 00009 { 00010 delete (Physic*)((IPhysic*)physic); 00011 return true; 00012 }