We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebbf0a1 commit 3edaaebCopy full SHA for 3edaaeb
src/libasr/codegen/c_utils.h
@@ -522,7 +522,7 @@ class CCPPDSUtils {
522
if( ASR::is_a<ASR::Character_t>(*m_type) ) {
523
generated_code += indent + tab + "x->data[pos] = (char*) malloc(40 * sizeof(char));\n";
524
}
525
- generated_code += indent + tab + deepcopy_function("x->data[pos]", "element", m_type) + "\n";
+ generated_code += indent + tab + get_deepcopy(m_type, "element", "x->data[pos]") + "\n";
526
generated_code += indent + tab + "x->current_end_point += 1;\n";
527
generated_code += indent + "}\n\n";
528
0 commit comments