Skip to content

Commit

Permalink
Namespace exported plugin Create() method
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusTomlinson committed Mar 19, 2024
1 parent 910789e commit f936362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/dspatch/Plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define EXPORT_PLUGIN( classname, ... ) \
extern "C" \
{ \
DLLEXPORT Component* Create() \
DLLEXPORT DSPatch::Component* Create() \
{ \
return new classname( __VA_ARGS__ ); \
} \
Expand Down

0 comments on commit f936362

Please sign in to comment.