Re: more void* vs. char*

William C. Saphir (wcs@nas.nasa.gov)
Thu, 14 Mar 1996 11:56:21 -0800

I realized from Bill G's clarification that I had understood
his point at the meeting and then forgotten what he actually
said. Hope my summary didn't contribute too much to
the confusion.
The three choices really are:
1. (char *) with the additional restriction of null-terminated strings
2. (char *) of arbitrary character data
3. (void *) of anything.

The meeting vote was for a (char *) binding without an explicit
restriction to null-terminated strings, though such a further
restriction wasn't further ruled out.
I don't think I've heard an argument that 2. contains advantages
over 3. If being able to manipulate the info arg as a string
(e.g., to print it out) is important, or if the simplicity
of 1. is important, then 1. has an advantage.

Bill