SDLsetClass(3DTM)

NAME
SDLsetClass, SDLcompareClass - Surface description language class labeling and scanning macros.

SYNOPSIS
#include <sdl.h>

SDLsetClass(char *header)

SDLcompareClass(char *header)

DESCRIPTION
SDLsetClass inserts the message class constant SDLclass into the character string header indicating that the data to follow should be considered surface description language information. The SDLclass constant is declared in the file sdl.h, and though it is accessible at all times, it is recommended that the macro SDLsetClass be used to correctly insert this message type tag into the header.

SDLcompareClass returns a non-zero value if the character string header contains the SDLclass constant. Though the constant SDLclass is accessible at all times, it is recommended that the macro SDLcompareClass to determine whether or not a header indicates surface description data.

SEE ALSO
DTM, SDLclass

BUGS
SDLsetClass has no way of determining if the header contains sufficient space to hold the tag SDLclass. The results of attempting to store this information beyond the end of the allocated space are undefined.