Here are the docs for [NSCursor hotSpot]:
https://developer.apple.com/documentati ... guage=objc
I've defined NSPoint as follows:
Code: Select all
public foreign type NSPoint binds to "MCAggregateTypeInfo:ff"
Code: Select all
private foreign handler ObjC_NSCursorHotspot(in pCursor as ObjcId) \
returns NSPoint \
binds to "objc:NSCursor.-hotSpot"
Code: Select all
variable tSize as NSSize
Code: Select all
put ObjC_NSCursorHotspot(tCursor) into tHotspot
Here is the line in my code that causes the crash:
https://github.com/trevordevore/lc-maco ... r.lcb#L107
Any ideas?