[ghex/expand-search-options: 12/12] hexdoc: add padding to public structs to avoid future ABI breakage
- From: Logan Rathbone <larathbone src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ghex/expand-search-options: 12/12] hexdoc: add padding to public structs to avoid future ABI breakage
- Date: Mon, 25 Apr 2022 21:46:15 +0000 (UTC)
commit dc896f5c656be69629601fde481f8bc01f708fea
Author: Logan Rathbone <poprocks gmail com>
Date: Sat Apr 23 14:49:46 2022 -0400
hexdoc: add padding to public structs to avoid future ABI breakage
Let's just not expose any further public structs at all on a go-forward
basis, m'kay? Lesson learned.
src/hex-document.h | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/src/hex-document.h b/src/hex-document.h
index 73b364e..ef3c13a 100644
--- a/src/hex-document.h
+++ b/src/hex-document.h
@@ -105,6 +105,11 @@ typedef struct
size_t found_len;
const char *found_msg;
const char *not_found_msg;
+
+ /*< private >*/
+ gpointer padding1[5];
+ gint64 padding2[5];
+ int padding3[5];
} HexDocumentFindData;
/**
@@ -139,6 +144,11 @@ typedef struct
HexChangeType type;
char *v_string;
char v_byte;
+
+ /*< private >*/
+ gpointer padding1[5];
+ gint64 padding2[5];
+ int padding3[5];
} HexChangeData;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]