summaryrefslogtreecommitdiff
path: root/CONVENTIONS.md
diff options
context:
space:
mode:
authorTed Nyman <ted@ted.io>2013-01-03 16:14:23 -0800
committerTed Nyman <ted@ted.io>2013-01-03 16:14:23 -0800
commit394711ff750d2ada6fca10e1ae71ce174cf9da8b (patch)
tree5edde13c8bd0ac5225e60e259522b17eb9a50428 /CONVENTIONS.md
parent60d61926d3d0968518ab2627c281801c61b67cb1 (diff)
downloadlibgit2-394711ff750d2ada6fca10e1ae71ce174cf9da8b.tar.gz
Add note in CONVENTIONS about inlined functions
Diffstat (limited to 'CONVENTIONS.md')
-rw-r--r--CONVENTIONS.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/CONVENTIONS.md b/CONVENTIONS.md
index 10d9c8644..968aad098 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);
+```
+
+
+