A bool is defined as a byte, its a small change, that will not cause the memory leak. While I agree I usually use bool for true or false 1 or 0. I overlooked it, and its trivial to change. But, how could that cause a memory leak, which is my concern, or how could it cause my mud to crash periodically ? Sorren On Tue, 16 Sep 1997, George wrote: > On Tue, 16 Sep 1997, Sorren@usa.net wrote: > > >struct current_table { > > bool magic; /* 0 not set 1 no magic 2 magic */ > > bool race; /* 0 not set, 2 metahuman 1 human */ > >}; > > Bool = 1 or 0, not 0 or 1 or 2 or 3 or 4 or 5 or such. > You mean byte perhaps? > > (In CircleMUD bool == byte but you'll hit problems later.) > > -- > George Greer - Me@Null.net | Genius may have its limitations, but stupidity > http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard > > > +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST