From 69cd4141984629a11b17657acabcdad8a376b101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Fri, 19 Oct 2018 16:30:43 +0200 Subject: [PATCH] docs: fix transparent/opaque confusion in the conventions file --- docs/conventions.md | 4 ++-- 1 file 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.