Skip to content

Commit 5fe5db1

Browse files
Smit-createczgdp1807
authored andcommitted
Remove unused deep_copy function callback
1 parent 3edaaeb commit 5fe5db1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/libasr/codegen/c_utils.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ namespace CPPUtils {
136136
}
137137
} // namespace CPPUtils
138138

139-
typedef std::string (*DeepCopyFunction)(std::string, std::string, ASR::ttype_t*);
140139

141140
class CCPPDSUtils {
142141
private:
@@ -151,7 +150,6 @@ class CCPPDSUtils {
151150
std::string func_decls;
152151

153152
SymbolTable* global_scope;
154-
DeepCopyFunction deepcopy_function;
155153

156154
public:
157155

@@ -160,10 +158,6 @@ class CCPPDSUtils {
160158
func_decls.clear();
161159
}
162160

163-
void set_deepcopy_function(DeepCopyFunction func) {
164-
deepcopy_function = func;
165-
}
166-
167161
void set_indentation(int indendation_level_, int indendation_space_) {
168162
indentation_level = indendation_level_;
169163
indentation_spaces = indendation_space_;

0 commit comments

Comments
 (0)