Skip to content

Commit 3da4478

Browse files
committed
Fix string parsing in initialization of overloads_signatures array
1 parent a271c27 commit 3da4478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp2py/mako/wrap.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ template <> struct py_converter<${en.c_name}> {
584584
} // end overload ${overload._get_c_signature()}
585585
%endfor # overload
586586

587-
static const char * overloads_signatures[] = {${'"' + ','.join(ov._get_c_signature() for ov in py_meth.overloads) + '"'}};
587+
static const char * overloads_signatures[] = {${'"' + '", "'.join(ov._get_c_signature() for ov in py_meth.overloads) + '"'}};
588588

589589
// FIXME Factorize this
590590
// finally, no overload was successful. Composing a detailed error message, with the reason of failure of each overload

0 commit comments

Comments
 (0)