[Openmcl-devel] Objc typedef mappings

alex crain alexcrain at mail.widgetworks.com
Sat Jan 22 20:25:52 UTC 2005


Given this declaration in NSTextView.h ....

typedef enum _NSSelectionAffinity {
     NSSelectionAffinityUpstream = 0,
     NSSelectionAffinityDownstream = 1
} NSSelectionAffinity;

If I know that a value is <NSS>election<A>ffinity and equal to 1, is 
there a way to map this back to #$NSSelectionAffinityDownstream ?

Thanks
:alex




More information about the Openmcl-devel mailing list