[Spice-devel] [PATCH spice-server] style: Specify function definition indentation
Jonathon Jongsma
jjongsma at redhat.com
Mon Oct 10 21:44:13 UTC 2016
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
On Mon, 2016-10-10 at 19:27 +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> docs/spice_style.txt | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/docs/spice_style.txt b/docs/spice_style.txt
> index 026a354..cd874df 100644
> --- a/docs/spice_style.txt
> +++ b/docs/spice_style.txt
> @@ -198,7 +198,14 @@ void function(type1 arg1, type2 arg2,
> type3 arg3)
> ----
> +
> -* New line is acceptable only in arguments list
> +* New line is acceptable in arguments list and before function name,
> like
> ++
> +[source,c]
> +----
> +void
> +function(type1 arg1, type2 arg2,
> + type3 arg3)
> +----
>
> Branching indentation
> ---------------------
More information about the Spice-devel
mailing list