[gnome-calendar] HACKING: updated
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] HACKING: updated
- Date: Fri, 30 Jan 2015 18:02:34 +0000 (UTC)
commit 782c20924689ab50f833e092ae60df78971a36db
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Fri Jan 30 12:58:12 2015 -0500
HACKING: updated
The main reason to change the ordering of the functions is to avoid the
need of explicit prototypes at the top of the files
HACKING | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/HACKING b/HACKING
index 5d4c190..682b517 100644
--- a/HACKING
+++ b/HACKING
@@ -3,11 +3,11 @@ Code formating and ordering
+ 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. interface init will go third
- 3. vfuncs implementations will go fourth
- 4. Public API will go in the end
+ 1. Private functions
+ 2. vfuncs implementations
+ 3. interface init
+ 4. class_init and init
+ 5. Public API will go in the end
+ Methods naming will be according to:
1. Private methods will have no prefix
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]