corona  1.0.2
Public Member Functions
corona::DLLInterface Class Reference

#include <corona.h>

Inheritance diagram for corona::DLLInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void operator delete (void *p)

Detailed Description

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.

Definition at line 109 of file corona.h.


Member Function Documentation

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 >.

Definition at line 123 of file corona.h.


The documentation for this class was generated from the following file: