feat: working operatorDef transfer

This commit is contained in:
parker
2025-07-13 17:39:52 +01:00
parent db5da8a2e8
commit 34a1df859a
4 changed files with 11 additions and 6 deletions

View File

@@ -8,9 +8,9 @@
extern "C"
{ BOOST_SYMBOL_EXPORT std::string myVar = "hello world";
BOOST_SYMBOL_EXPORT void newSopOperator(enzo::op::OperatorTable* table)
BOOST_SYMBOL_EXPORT void newSopOperator(void (*addOperator)(enzo::nt::opConstructor))
{
table->addOperator(
addOperator(
&GopTransform::ctor
);
}