
7.10 The C structure
setEnum
Function
- Signature:
-
val setEnum : c_object * int -> unit
- Description:
- This updates an object containing enumerated values. The integer must be in the appropriate range defined by the
c_type of the object. The c_type of the object should be an enumerated type.
The following are particular selection functions for particular kinds of structured C data -- they expect the foreign objects to have an appropriate c_type already set. If not, they fail with exception ForeignType.
MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker