Re: send_to_char()

From: Artovil (
Date: 11/25/01

At 17:16 2001-11-25 -0600, Mysidia wrote:
> > PS: A little over one month until send_to_char() gets variable arguments
> > and its parameters flipped. Have you changed yours yet?
>Ack.. that sounds like a horrible idea.. imagine the
>compatibility nightmares between snippets, patches, and post-XXX versions
>that changing semantics of such a commonly-used function would cause
>and the pain that's bound to cause people who want to contribute and
>use contributions
>IMO, send_to_char should be renamed to something like  char_send_f if
>the calling conventions or parameter list order are being changed --
>that way incompatibility results in compilation errors rather than
>random crashes...

Couldn't you just make it the old send_to_char a macro call to the new one,
and rename the new one, like the send_to_charf snip on the FTP?


   | FAQ: |
   | Archives: |

This archive was generated by hypermail 2b30 : 12/06/01 PST