summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2018-10-19 16:30:43 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2018-10-19 16:30:43 +0200
commit69cd4141984629a11b17657acabcdad8a376b101 (patch)
tree758ef1fa08cc00322c7808b39dc58cebb122d5d5
parent0a4284b1e251994b9984bb0192df6db90f284c17 (diff)
downloadlibgit2-cmn/not-opaque.tar.gz
docs: fix transparent/opaque confusion in the conventions filecmn/not-opaque
-rw-r--r--docs/conventions.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conventions.md b/docs/conventions.md
index f86e1e249..c8a39dd2b 100644
--- a/docs/conventions.md
+++ b/docs/conventions.md
@@ -156,8 +156,8 @@ typedef struct git_odb git_odb;
the library, and not within the application. This allows the type
to grow (or shrink) in size without rebuilding client code.
-To preserve ABI compatibility, include an `int version` field in all opaque
-structures, and initialize to the latest version in the construction call.
+To preserve ABI compatibility, include an `int version` field in all transparent
+structures, and initialize to the latest version in the constructor call.
Increment the "latest" version whenever the structure changes, and try to only
append to the end of the structure.