Skip to content

Commit 0fccf01

Browse files
authored
Merge pull request libgit2#4853 from libgit2/cmn/not-opaque
docs: fix transparent/opaque confusion in the conventions file
2 parents 0a4284b + 69cd414 commit 0fccf01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conventions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ typedef struct git_odb git_odb;
156156
the library, and not within the application. This allows the type
157157
to grow (or shrink) in size without rebuilding client code.
158158

159-
To preserve ABI compatibility, include an `int version` field in all opaque
160-
structures, and initialize to the latest version in the construction call.
159+
To preserve ABI compatibility, include an `int version` field in all transparent
160+
structures, and initialize to the latest version in the constructor call.
161161
Increment the "latest" version whenever the structure changes, and try to only
162162
append to the end of the structure.
163163

0 commit comments

Comments
 (0)