Re: Modifying linked lists

From: Daniel A. Koepke (dkoepke@california.com)
Date: 04/28/00


On Fri, 28 Apr 2000, Phillip A Ames wrote:

> Do I have to use the REMOVE_FROM_LIST macro and then re-add it to the
> head of the list?

No, of course not.  Just change blah.  There's plenty of examples of this
in CircleMUD.  For instance, every time a character is modified you are
changing a member of a structure in a linked list (character_list).

-dak


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT