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
This commit is contained in:
Erick Pérez Castellanos
2015-01-30 12:58:12 -05:00
parent d5fe2d8cb6
commit 782c209246
+5 -5
View File
@@ -3,11 +3,11 @@ Code formating and ordering
+ The source file will keep and order of methods. The order will be as + The source file will keep and order of methods. The order will be as
following: following:
1. Private functions will go first 1. Private functions
2. class_init and init will go second 2. vfuncs implementations
3. interface init will go third 3. interface init
3. vfuncs implementations will go fourth 4. class_init and init
4. Public API will go in the end 5. Public API will go in the end
+ Methods naming will be according to: + Methods naming will be according to:
1. Private methods will have no prefix 1. Private methods will have no prefix