diff --git a/src/codegen/codegen_neuron_cpp_visitor.cpp b/src/codegen/codegen_neuron_cpp_visitor.cpp index 1984e75a9..2afc86f9f 100644 --- a/src/codegen/codegen_neuron_cpp_visitor.cpp +++ b/src/codegen/codegen_neuron_cpp_visitor.cpp @@ -616,6 +616,7 @@ CodegenCppVisitor::ParamVector CodegenNeuronCppVisitor::internalthreadargs_param return internal_method_parameters(); } + CodegenCppVisitor::ParamVector CodegenNeuronCppVisitor::threadargs_parameters() { return {{"", "Memb_list*", "", "_ml"}, {"", "size_t", "", "_iml"}, @@ -625,6 +626,7 @@ CodegenCppVisitor::ParamVector CodegenNeuronCppVisitor::threadargs_parameters() {"", "NrnThread*", "", "_nt"}}; } + /// TODO: Edit for NEURON std::string CodegenNeuronCppVisitor::nrn_thread_arguments() const { return {}; @@ -755,6 +757,7 @@ std::vector CodegenNeuronCppVisitor::print_verbatim_setup( return macros_defined; } + void CodegenNeuronCppVisitor::print_verbatim_cleanup( const std::vector& macros_defined) { for (const auto& macro: macros_defined) { @@ -763,6 +766,7 @@ void CodegenNeuronCppVisitor::print_verbatim_cleanup( printer->add_line("// End of cleanup for VERBATIM"); } + std::string CodegenNeuronCppVisitor::process_verbatim_text(const std::string& verbatim) { parser::CDriver driver; driver.scan_string(verbatim);