--- deliantra/server/include/cfperl.h 2007/01/07 02:39:14 1.47 +++ deliantra/server/include/cfperl.h 2007/01/08 01:19:03 1.49 @@ -142,6 +142,7 @@ MTH void refcnt_inc () const { ++refcnt; } MTH void refcnt_dec () const { --refcnt; } + MTH int refcnt_cnt () const; // check wether the object has died and destroy MTH void refcnt_chk () { if (refcnt <= 0) do_check (); } @@ -182,7 +183,7 @@ attachable &operator =(const attachable &src); bool invoke (event_type event, ...); - void instantiate (); + MTH void instantiate (); void reattach (); protected: