Re: System Idle Time
Re: System Idle Time
- Subject: Re: System Idle Time
- From: "Jonathan 'Wolf' Rentzsch" <email@hidden>
- Date: Tue, 26 Oct 2004 22:04:39 -0500
Evan Schoenberg, email@hidden, wrote:
>
> Hmmmm... Not only is that undocumented SPI, but it's also used
>
> incorrectly. The comment about MDD PowerMacs is also wildly
>
> misleading.
>
>
>
In what sense is it used incorrectly? And how is the comment about MDD
>
PowerMacs misleading? Not being combative; I honestly would like to
>
understand where you're coming from there.
>
>
> Think about it. Default C return type with no prototype is... And
>
> you cast that to... And suppose the real returned value is in
>
> another register...
>
>
>
Sorry, I forgot to include the prototype in my reply:
>
extern double CGSSecondsSinceLastInputEvent(unsigned long evType);
Reading between the lines, I deduce that maybe
CGSSecondsSinceLastInputEvent() returns an integer, not a double.
| Jonathan 'Wolf' Rentzsch
http://rentzsch.com
| Red Shed Software
http://redshed.net
| "better" necessarily means "different"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden