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

Comparing deliantra/server/server/cfperl.xs (file contents):
Revision 1.110 by root, Mon Dec 25 14:43:23 2006 UTC vs.
Revision 1.111 by root, Mon Dec 25 17:11:16 2006 UTC

208attachable_free (pTHX_ SV *sv, MAGIC *mg) 208attachable_free (pTHX_ SV *sv, MAGIC *mg)
209{ 209{
210 attachable *at = (attachable *)mg->mg_ptr; 210 attachable *at = (attachable *)mg->mg_ptr;
211 assert (!(at->flags & attachable::F_BORROWED));//D//TODO//remove when stable 211 assert (!(at->flags & attachable::F_BORROWED));//D//TODO//remove when stable
212 at->self = 0; 212 at->self = 0;
213 // next line makes sense, but most objects still have refcnt 0 by default
213 at->refcnt_chk (); 214 //at->refcnt_chk ();
214 return 0; 215 return 0;
215} 216}
216 217
217static MGVTBL vtbl_attachable = {0, 0, 0, 0, attachable_free}; 218static MGVTBL vtbl_attachable = {0, 0, 0, 0, attachable_free};
218 219

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines