Binary compatibility and padding
- From: "Juan R. Garcia Blanco" <juanrgar gmail com>
- To: desktop-devel-list gnome org
- Subject: Binary compatibility and padding
- Date: Sat, 11 Apr 2015 15:43:51 +0200
Hi,
In GNOME Dictionary 3.16.0, _GdictDefboxClass provided four members that
are function pointers 'for future expansion'. If I understand this
correctly, these four extra members act as a place holder in case we
want to add a new meaningful function pointer member, therefore removing
one of the extra ones. This is done in order to provide binary
compatibility I think.
On the road to GNOME Dictionary 3.16.1, I have added a new signal to
GdictDefbox, therefore adding a new function pointer member to
_GdictDefboxClass, but I have not removed any of the extra members. So
my question is: should I remove one of the extra members to preserve
binary compatibility? Or should I just simply increment LT_VERSION
appropriately?
Thank you very much in advance.
Best regards,
Juan.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]