Fwd: How do I get NSRect to be the same as CGRect?

  • curse google's mobile gmail for not having a "reply to all" button.

    :)

    ---------- Forwarded message ----------
    From: Clark Cox <clarkcox3...>
    Date: Mon, 17 Dec 2007 06:34:34 -0800
    Subject: Re: How do I get NSRect to be the same as CGRect?
    To: Gregory Weston <gweston...>

    indeed, but 'int' just means at least 16-bit and no smaller than a
    short. Six of one, half dozen of another. If binary compatibility
    weren't an issue, we could define it as long on all of our platforms
    and be done with it.

    On 12/17/07, Gregory Weston <gweston...> wrote:
    > Lachlan O'Dea wrote:
    >
    >> Is this the same reason for NSInteger being typedefed int under 32
    >> bit, and
    >> typedefed long under 64 bit? I didn't see why we couldn't just use
    >> long
    >> everywhere and be done with it.
    >
    > Because we wouldn't necessarily be done with it. The word 'long'
    > means "at least 32 bits and not smaller than 'int'." Anything more
    > specific than that is up to the implementation.
    >

    --
    Clark S. Cox III
    <clarkcox3...>

    --
    Clark S. Cox III
    <clarkcox3...>
previous month december 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Go to today