lq-text: LQT_WordFlagsToString

API char * LQT_WordFlagsToString (db, Flags) t_LQTEXT_Database *db; t_WordFlags Flags;

Purpose

Returns a printable string representation of the given WordFlags, intended for humans to read as well as for use with the LQT_Word­Flags­To­String function. The flags are defined in <wordrules.h> and are explained under the Language category.

Returns

a pointer to a statically allocated string.

Errors

There must be enough memory to allocate the result, which grows automatically as needed, but never shrinks.

See Also: