> You will be forever remembered as the first HOC user to contribute
> code :-).
And I'll forever remember it as the first time I contributed code to
an open-source project!
Speaking of which, here's another little patch, to get ifgen to
recognize the pointer typedefs for the usual struct types
(NSRangePointer, etc.). This lets ifgen handle the methods of
NSAttributedString, for instance.
Bindings/binding-script.txt
64a65,69
> type NSPointPointer Foundation.NSGeometry;
> type NSSizePointer Foundation.NSGeometry;
> type NSRectPointer Foundation.NSGeometry;
> type NSRangePointer Foundation.NSRange;
>
Bindings/AdditionalCode/Foundation/NSGeometry.hs
8a9,11
> --X NSPointPointer
> --X NSRectPointer
> --X NSSizePointer
28a32,35
> type NSPointPointer =3D Ptr NSPoint
> type NSSizePointer =3D Ptr NSSize
> type NSRectPointer =3D Ptr NSRect
>
Bindings/AdditionalCode/Foundation/NSRange.hs
6a7
> --X NSRangePointer
18a20
> type NSRangePointer =3D Ptr NSRange
- Matt
--
http://www.matthewmorgan.net/blog
|