feat(plugin): add name arguments to addOperator function

This commit is contained in:
parker
2025-07-16 16:23:23 +01:00
parent 6d00c92f0f
commit 1ac5af190b
7 changed files with 11 additions and 7 deletions

View File

@@ -7,10 +7,12 @@
#include <iostream>
extern "C"
{ BOOST_SYMBOL_EXPORT std::string myVar = "hello world";
BOOST_SYMBOL_EXPORT void newSopOperator(void (*addOperator)(enzo::nt::opConstructor))
{
BOOST_SYMBOL_EXPORT void newSopOperator(enzo::op::addOperatorPtr addOperator)
{
addOperator(
"transform",
"Transform",
&GopTransform::ctor
);
}