lib: Add padding booleans to OstreeRepoCheckoutAtOptions

Since this is a new API, and adding booleans is the most likely thing
we'll do, let's stick some explicit padding for them in here now.

We could use the `unused_ints[]` but it'd be out of order, and this
will more clearly remind people about the padding.  The efficiency hit
versus bitfields is annoying, but oh well, not a real world problem.

Closes: #427
Approved by: giuseppe
This commit is contained in:
Colin Walters 2016-08-04 07:22:41 -04:00 committed by Atomic Bot
parent 18d826e3a5
commit 593effe2fb
1 changed files with 1 additions and 0 deletions

View File

@ -752,6 +752,7 @@ typedef struct {
gboolean enable_fsync; /* Deprecated */ gboolean enable_fsync; /* Deprecated */
gboolean process_whiteouts; gboolean process_whiteouts;
gboolean no_copy_fallback; gboolean no_copy_fallback;
gboolean unused_bools[7];
const char *subpath; const char *subpath;