[Spice-devel] [PATCH v4 11/12] Point out that the coding style is for all SPICE components

Christophe de Dinechin christophe at dinechin.org
Thu Feb 15 16:06:24 UTC 2018


From: Christophe de Dinechin <dinechin at redhat.com>

Historically, the coding style was created in the server component, and
that's where it's built from. However, it applies also to other components,
and is presently being reworked in large part because of the introduction of
a large amount of C++ in the streaming agent.

Signed-off-by: Christophe de Dinechin <dinechin at redhat.com>
---
 docs/spice_style.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/spice_style.txt b/docs/spice_style.txt
index 4c29a410..13bd3809 100644
--- a/docs/spice_style.txt
+++ b/docs/spice_style.txt
@@ -34,6 +34,9 @@ another. For example, we prefer methods with snake_names instead of
 CamelCase, because that's the SPICE C style for functions. Similarly,
 we prefer CamelCase for classes because that's the SPICE C style for structs.
 
+The coding style described here, while hosted in the server code for historical reasons,
+applies to all SPICE components.
+
 This style guide only indicates what we aim to achieve. It does not
 necessarily reflect the current state of the code. Consistency matters.
 It may be preferable to ignore a guideline documented here if it helps
-- 
2.13.5 (Apple Git-94)



More information about the Spice-devel mailing list