commit | 3ed80ba1c1773a0e45538e432573d91cfb388b0f | [log] [tgz] |
---|---|---|
author | Paul Kehrer <paul.l.kehrer@gmail.com> | Sat Oct 19 20:00:26 2013 -0500 |
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | Sat Oct 19 20:00:26 2013 -0500 |
tree | dfe7ef02b58186a1299c523f43e84a15433e66dd | |
parent | a4444554aca86bb27ecfbedff81759b904bcd7b9 [diff] |
add struct style info to docs
diff --git a/docs/contributing.rst b/docs/contributing.rst index b125d1a..fe87ac2 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst
@@ -65,6 +65,16 @@ // Bad long f(long x); +...unless they're inside a struct: + +.. code-block:: c + + struct my_struct { + char *name; + int number; + ...; + }; + Don't include stray ``void`` parameters: .. code-block:: c