free all the objects marked for deletion */
| 2828 | |
| 2829 | /* free all the objects marked for deletion */ |
| 2830 | void |
| 2831 | dobjsfree(void) |
| 2832 | { |
| 2833 | struct obj *otmp; |
| 2834 | |
| 2835 | while (go.objs_deleted) { |
| 2836 | otmp = go.objs_deleted; |
| 2837 | go.objs_deleted = otmp->nobj; |
| 2838 | if (otmp->where != OBJ_DELETED) |
| 2839 | panic("dobjsfree: obj where=%d, not OBJ_DELETED", otmp->where); |
| 2840 | obj_extract_self(otmp); |
| 2841 | dealloc_obj_real(otmp); |
| 2842 | } |
| 2843 | } |
| 2844 | |
| 2845 | /* create an object from a horn of plenty; mirrors bagotricks(makemon.c) */ |
| 2846 | int |
no test coverage detected