Re: Making a c-style array

Arthur Cater <[email protected]>
Newsgroups gmane.lisp.openmcl.devel
Message-ID <[email protected]>
To use #/elementAtIndex:associatedPoints: the Apple docs say
- (NSBezierPathElement <https://developer.apple.com/documentation/appkit/nsbezierpathelement>)elementAtIndex:(NSInteger <https://developer.apple.com/documentation/objectivec/nsinteger>)index 
                     associatedPoints:(NSPointArray <https://developer.apple.com/documentation/foundation/nspointarray>)points;
Parameters

index
The index of the desired path element.

points
On input, a C-style array containing up to three NSPoint data types, or NULL if you do not want the points. On output, the data points associated with the specified path element.



So I now understand that ccl’s make-heap-ivector lets me create an array, but I don’t understand how to pass it an appropriate element-type for accommodating NSPoints. Can anyone help please?
Arthur
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.