[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NIB loader: custom views don't draw themselves
From: |
David Chisnall |
Subject: |
Re: NIB loader: custom views don't draw themselves |
Date: |
Fri, 9 Aug 2013 12:36:09 +0100 |
On 9 Aug 2013, at 12:22, Luboš Doležel <address@hidden> wrote:
> Right, sorry, it is @address@hidden:8{_NSRect={_NSPoint=dd}{_NSSize=dd}}16
>
> So I assume the right solution is to create a substitutes table to
> rewrite CGRect->_NSRect etc.
That would certainly work, although the correct solution is probably to rename
_NSRect to CGRect and _NSPoint into CGPoint and make the typedefs remain as-is.
The runtime is quite conservative about type mapping for structs, because, for
example, NSPoint and NSSize have the same representation, but it's probably a
bug if something is passed one and expects the other.
David
-- Sent from my Cray X1
- Re: NIB loader: custom views don't draw themselves, (continued)
- Re: NIB loader: custom views don't draw themselves, Eric Wasylishen, 2013/08/08
- Re: NIB loader: custom views don't draw themselves, Gregory Casamento, 2013/08/08
- Re: NIB loader: custom views don't draw themselves, Luboš Doležel, 2013/08/09
- Re: NIB loader: custom views don't draw themselves, Gregory Casamento, 2013/08/09
- Re: NIB loader: custom views don't draw themselves, Luboš Doležel, 2013/08/09
- Re: NIB loader: custom views don't draw themselves, Luboš Doležel, 2013/08/09
- Re: NIB loader: custom views don't draw themselves, David Chisnall, 2013/08/09
- Re: NIB loader: custom views don't draw themselves, Luboš Doležel, 2013/08/09
- Re: NIB loader: custom views don't draw themselves, David Chisnall, 2013/08/09
- Re: NIB loader: custom views don't draw themselves, Luboš Doležel, 2013/08/09
- Re: NIB loader: custom views don't draw themselves,
David Chisnall <=
- Re: NIB loader: custom views don't draw themselves, Luboš Doležel, 2013/08/10
- Re: NIB loader: custom views don't draw themselves, David Chisnall, 2013/08/10