… | |
… | |
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); |