[haiku-commits] Re: haiku: hrev53625 - src/kits/game headers/os/game

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 10 Dec 2019 08:03:45 +0000

10 décembre 2019 08:58 "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx> a écrit:

Am 09/12/2019 um 13:00 schrieb Stephan Aßmus:

- thread_id fReadThread;
- port_id fPort;

[...]

+#ifdef B_HAIKU_64_BIT
uint32 _reserved[9];
+#else
+ uint32 _reserved[10];
+#endif

This looks like it changes the class size. I don't think this was intended?

I tried not to.

- 2 32-bit fields were removed,
- 1 pointer field was added (to store the BDataIO, which is not managed by the 
media kit anymore).

On 32bit system, this is one 32bit word less than before, so the reserved area 
is increased by one
On 64bit systems, this is the same as before because the pointer is larger, so 
the reserved area stays as before.

Did I miss something?

-- 
Adrien.


Other related posts: