Commit 8ee7ce4
committed
Do not make private class/record member getters/setters private
BridJ does not count the fields this way, which alters the size of the
enclosing struct type as seen by BridJ. This causes problems with nested
structures, which is used extensively by GStreamer. (The nested structure
is believed by BridJ to be shorter than it actually is, therefore
potentially breaking offset calculation for other fields.)
Since the getters/setters are prefixed with the class name, no
inheritance-related name conflicts should occur, therefore it is safe to
make them public again.1 parent 343fbd7 commit 8ee7ce4
1 file changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
| 749 | + | |
756 | 750 | | |
757 | 751 | | |
758 | 752 | | |
759 | | - | |
| 753 | + | |
760 | 754 | | |
761 | 755 | | |
762 | 756 | | |
| |||
0 commit comments