• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

src/physic/src/dllexport.cpp

Go to the documentation of this file.
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 }

Generated on Fri Jun 18 2010 17:48:39 for Cannonball by  doxygen 1.7.0