corona
1.0.2
|
#include <corona.h>
Public Member Functions | |
void | operator delete (void *p) |
A helper class for DLL-compatible interfaces. Derive your cross-DLL interfaces from this class.
When deriving from this class, do not declare a virtual destructor on your interface.
void corona::DLLInterface::operator delete | ( | void * | p | ) | [inline] |
"delete image" should actually call image->destroy(), thus putting the burden of calling the destructor and freeing the memory on the image object, and thus on Corona's side of the DLL boundary.
Reimplemented in corona::DLLImplementation< Image >, and corona::DLLImplementation< File >.