[haiku-development] Re: [PATCH] Add microsecond resolution to BTime

  • From: "Stephen Deken" <stephen.deken@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 9 Oct 2008 13:46:05 -0500

On Thu, Oct 9, 2008 at 1:34 PM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
> AFAIK BTime is a private Haiku only class - it's always compiled into
> the app that uses it (hence the shared folder), so you can freely
> change it without fearing incompatibilities with BeOS.

Ah, that's much easier then.  Here's a revised, simpler patch that
throws caution to the wind.

> I would also make the microsecond parameter of the constructor
> optional, I think.

Yes, that was my original intent, but I was attempting to ensure
binary compatibility by not adding parameters to existing functions,
and not changing the size of the existing class.  Since that's not
necessary, the attached patch does make the microsecond parameter
optional.

-- 
Stephen Deken
stephen.deken@xxxxxxxxx

Other related posts: