feat: working parameter creation

This commit is contained in:
parker
2025-07-23 16:57:27 +01:00
parent 52548a3d58
commit c08fd4e7e8
14 changed files with 89 additions and 34 deletions

View File

@@ -3,15 +3,17 @@
#include <iostream>
void enzo::op::OperatorTable::addOperator(const char* internalName, const char* displayName, nt::opConstructor ctorFunc, prm::Template* templates)
void enzo::op::OperatorTable::addOperator(const char* internalName, const char* displayName, nt::opConstructor ctorFunc, prm::Template templates[])
{
std::cout << "OPERATOR TABLE ADDED\n";
std::cout << "adding operator: " << displayName << "\n";
std::cout << "tempalate size: " << sizeof(templates) << "\n";
enzo::op::OpInfo info {
internalName,
displayName,
ctorFunc,
templates
templates,
sizeof(*templates)
};
opInfoStore_.push_back(info);