Open CASCADE Technology 7.8.2.dev
Plugin_Macro.hxx File Reference

Macros

#define PLUGIN(name)
 Macro implementing C-style interface function to get factory object from the dynamically loaded library.
 

Macro Definition Documentation

◆ PLUGIN

#define PLUGIN ( name)
Value:
extern "C" Standard_EXPORT Standard_Transient* PLUGINFACTORY(const Standard_GUID& aGUID) { \
return const_cast<Standard_Transient*>(name::Factory(aGUID).get()); \
}
Definition Standard_GUID.hxx:33
Abstract class which forms the root of the entire Transient class hierarchy.
Definition Standard_Transient.hxx:35

Macro implementing C-style interface function to get factory object from the dynamically loaded library.