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.50 by root, Tue Jan 9 21:32:42 2007 UTC vs.
Revision 1.52 by root, Fri Jan 26 22:06:30 2007 UTC

131 static unordered_vector<attachable *> mortals; 131 static unordered_vector<attachable *> mortals;
132 MTH static void check_mortals (); 132 MTH static void check_mortals ();
133 133
134 enum { 134 enum {
135 F_DESTROYED = 0x01, 135 F_DESTROYED = 0x01,
136 F_BORROWED = 0x02,
137 }; 136 };
138 137
139 // object is delete'd after the refcount reaches 0 138 // object is delete'd after the refcount reaches 0
140 mutable int ACC (RW, refcnt); 139 mutable int ACC (RW, refcnt);
141 int ACC (RW, flags); 140 int ACC (RW, flags);
165 164
166 HV *self; // CF+ perl self 165 HV *self; // CF+ perl self
167 AV *cb; // CF+ callbacks 166 AV *cb; // CF+ callbacks
168 shstr attach; // generic extension attachment information 167 shstr attach; // generic extension attachment information
169 168
169 void sever_self (); // sever this object from its self, if it has one.
170 void optimise (); // possibly save some memory by destroying unneeded data 170 void optimise (); // possibly save some memory by destroying unneeded data
171 171
172 attachable () 172 attachable ()
173 : flags (0), refcnt (0), self (0), cb (0), attach (0) 173 : flags (0), refcnt (0), self (0), cb (0), attach (0)
174 { 174 {
175 } 175 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines