I have just tried manual patch with
type
CellEditableConcept* = CellEditable or SpinButton or ComboBox or
SearchEntry or ComboBoxText or AppChooserButton or Entry
and
proc connect_for_signal_editing_started2(self: CellRenderer; p: proc
(self: CellRenderer; editable: CellEditableConcept; path: string)): culong
{.discardable.} =
scediting_started(self, connect_for_signal_cdecl_editing_started2, nil)
connect_for_signal_editing_started2(r, handler2)
It seems that I get the same or very similar error message:
Error: internal error: getTypeDescAux(tyOr)
No stack traceback available
To create a stacktrace, rerun compilation with ./koch temp c <file>
So that notation is not supported.
And I have not manage to pass a proc twice as typed and untyped to a macro --
of course I do not want a call like
connect(widget, "delete_row", handler, handler)
but only one handler argument for the user. Using a template, which then calls
the macro seems not to help.