NAME

nst_typedef_description -- define description method for type

PROTOTYPE

void nst_typedef_description( char *pcName)

ARGUMENTS

char *pcName
name of the data type

DESCRIPTION:

This routine allows to attach to a user-defined pin data type a description method that allows to print a string description for a given data instance. The passed method should expect the adress of the data instance and should return a char pointer to a string holding some description of the data instance. IMPORTANT: the caller of the passed routine is not expected to take ownership of the returned string, i.e., the routine should not allocate memory without freeing it (of course, this can only be done on a subsequent call; usually it will be easier just to return the adr of some static memory).

FILE

/local/homes/rhaschke/nst7/man/../o.linx86//../nstsrc/nst9.c