[gnome-calendar] docs: update code style
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] docs: update code style
- Date: Thu, 4 Dec 2014 22:33:37 +0000 (UTC)
commit 000b1a843bc643e5fc02ccec036a221512154b7b
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Sun Oct 5 16:42:09 2014 -0400
docs: update code style
HACKING | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/HACKING b/HACKING
index ffc67fa..ee9a095 100644
--- a/HACKING
+++ b/HACKING
@@ -1,14 +1,16 @@
Code formating and ordering
+===========================
-* The source file will keep and order of methods. The order will be as
-following:
++ The source file will keep and order of methods. The order will be as
+ following:
1. Private functions will go first.
2. class_init and init will go second.
3. vfuncs implementations will go third.
4. Public API will go fourth
-* Methods naming will be according to:
++ Methods naming will be according to:
1. Private methods will have no prefix
2. vfuncs and public API will have the right prefix
-* The methods prototype will always be placed at the top of the source.
++ The methods prototype will always be placed at the top of the source, in the
+ same order as their implementation below.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]