ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/utils.C
(Generate patch)

Comparing deliantra/server/common/utils.C (file contents):
Revision 1.27 by root, Wed Dec 20 09:14:21 2006 UTC vs.
Revision 1.29 by root, Mon Dec 25 11:25:49 2006 UTC

544 return; 544 return;
545} 545}
546 546
547///////////////////////////////////////////////////////////////////////////// 547/////////////////////////////////////////////////////////////////////////////
548 548
549#if 0
550refcounted *refcounted::rc_first;
551
552refcounted::refcounted ()
553{
554 refcnt = 0;
555 rc_next = rc_first;
556 rc_first = this;
557}
558
559refcounted::~refcounted ()
560{
561 assert (!rc_next);
562 assert (!refcnt);
563}
564#endif
565
566void *salloc_ (int n) throw (std::bad_alloc) 549void *salloc_ (int n) throw (std::bad_alloc)
567{ 550{
568 void *ptr = g_slice_alloc (n); 551 void *ptr = g_slice_alloc (n);
569 552
570 if (!ptr) 553 if (!ptr)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines