[Openmcl-devel] Objc typedef mappings

Gary Byers gb at clozure.com
Sun Jan 23 15:03:10 PST 2005



On Sat, 22 Jan 2005, alex crain wrote:

>
> 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
>

No; among other things, OpenMCL's FFI has no notion of what the
members of the enumeration <NSS>election<A>ffinity are.



More information about the Openmcl-devel mailing list