ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/cfperl.h
(Generate patch)

Comparing deliantra/server/include/cfperl.h (file contents):
Revision 1.48 by root, Sun Jan 7 18:01:09 2007 UTC vs.
Revision 1.49 by root, Mon Jan 8 01:19:03 2007 UTC

140 int ACC (RW, flags); 140 int ACC (RW, flags);
141 141
142 MTH void refcnt_inc () const { ++refcnt; } 142 MTH void refcnt_inc () const { ++refcnt; }
143 MTH void refcnt_dec () const { --refcnt; } 143 MTH void refcnt_dec () const { --refcnt; }
144 144
145 MTH int refcnt_cnt () const;
145 // check wether the object has died and destroy 146 // check wether the object has died and destroy
146 MTH void refcnt_chk () { if (refcnt <= 0) do_check (); } 147 MTH void refcnt_chk () { if (refcnt <= 0) do_check (); }
147 148
148 // destroy the object unless it was already destroyed 149 // destroy the object unless it was already destroyed
149 // this politely asks everybody interested the reduce 150 // this politely asks everybody interested the reduce

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines