Commit acb0f65ff8e1dcc48da4a8ffd81fd7ea97c4accc

Vicent Martí 2013-01-04T03:57:31

Merge pull request #1188 from tnm/inline-convention Inline convention

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/CONVENTIONS.md b/CONVENTIONS.md
index 10d9c86..1e909a3 100644
--- a/CONVENTIONS.md
+++ b/CONVENTIONS.md
@@ -159,4 +159,11 @@ GIT_END_DECL
 #endif
 ```
 
+## Inlined functions
+
+All inlined functions must be declared as:
+
+```C
+GIT_INLINE(result_type) git_modulename_functionname(arg_list);
+```