[haiku-commits] Re: haiku: hrev45156 - src/kits/interface headers/os/interface

  • From: Siarzhuk Zharski <zharik@xxxxxx>
  • To: <haiku-commits@xxxxxxxxxxxxx>
  • Date: Mon, 14 Jan 2013 21:50:32 +0100

Jérôme Duval писал 14.01.2013 21:26:
2013/1/14  <zharik@xxxxxx>:
diff --git a/headers/os/interface/TextView.h b/headers/os/interface/TextView.h
index cf23a1a..4e746fd 100644
--- a/headers/os/interface/TextView.h
+++ b/headers/os/interface/TextView.h
@@ -455,6 +455,8 @@ private:
int32 fLastClickOffset; bool fInstalledNavigateWordwiseShortcuts; bool fInstalledNavigateToTopOrBottomShortcuts; + bool fInstalledSelectWordwiseShortcuts; + bool fInstalledSelectToTopOrBottomShortcuts;

uint32 _reserved[6];
 };

this changes the size of the class.

Ahh.. Holy Cow of Binary Compatibility bit me! ;-) Thank you for the pointing it out!

Corresponding to previous change in hrev44756:

+ bool fInstalledNavigateWordwiseShortcuts;
+ bool fInstalledNavigateToTopOrBottomShortcuts;
- uint32 _reserved[7];
+ uint32 _reserved[6];

data are aligned at word size, so I have to decrease _reserved size to 5, right?

--
Kind Regards,
   S.Zharski

Other related posts: