libmoost
|
Go to the source code of this file.
Classes | |
class | moost::pdl::dynamic_class |
Namespaces | |
namespace | moost |
Creates a unique temporary directory; removed on scope exit. | |
namespace | moost::pdl |
Defines | |
#define | PDL_EXPORT_DYNAMIC_CLASS(class_name) |
#define PDL_EXPORT_DYNAMIC_CLASS | ( | class_name | ) |
extern "C" PDL_DECL_EXPORT ::moost::pdl::dynamic_class *PDL_create_ ## class_name() \ { \ try \ { \ return new class_name(); \ } \ catch (...) \ { \ } \ return 0; \ }
Export constructor for dynamically loaded class
Call this export macro once per plugin for every class that is supposed to be exported.
Definition at line 71 of file dynamic_class.h.