uncrustify icon indicating copy to clipboard operation
uncrustify copied to clipboard

In VALA, signal definitions are managed like function declaration.

Open rastersoft opened this issue 2 years ago • 0 comments

A signal declaration in VALA is like a function declaration, but with a "signal" modifier. Unfortunately, for uncrustify they are treated like a function declaration, which means that its not possible to have function declarations with the return definition in a different line than the function name, and, at the same time, signal declarations in a single line.

Example:

        public signal void
        ended();

        public signal void
        new_window();

rastersoft avatar Jul 08 '22 23:07 rastersoft