{The S-lang C Library Reference}: SLclass_get_datatype_name

Next Previous Contents

## 46. SLclass_get_datatype_name

Synopsis

  Get the name of a data type

Usage

  `char *SLclass_get_datatype_name (unsigned char type)`

Description

  The `SLclass_get_datatype_name` function returns the name of the data type specified by `type`. For example, if `type` is `SLANG_INT_TYPE`, the string `"Integer_Type"` will be returned.

  This function returns a pointer that should not be modified or freed.

See Also

  `SLclass_allocate_class, SLclass_register_class`

Next Previous Contents