Commit 394711ff750d2ada6fca10e1ae71ce174cf9da8b

Ted Nyman 2013-01-03T16:14:23

Add note in CONVENTIONS about inlined functions

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