/* Could be a macro for speed */ void pdf_drop_cmap(fz_context *ctx, pdf_cmap *cmap) { fz_drop_storable(ctx, &cmap->storable); }
void pdf_drop_font(fz_context *ctx, pdf_font_desc *fontdesc) { fz_drop_storable(ctx, &fontdesc->storable); }
void fz_drop_colorspace(fz_context *ctx, fz_colorspace *cs) { fz_drop_storable(ctx, &cs->storable); }
void fz_drop_image(fz_context *ctx, fz_image *image) { fz_drop_storable(ctx, &image->storable); }
void fz_drop_shade(fz_context *ctx, fz_shade *shade) { fz_drop_storable(ctx, &shade->storable); }
void fz_drop_display_list(fz_context *ctx, fz_display_list *list) { fz_drop_storable(ctx, &list->storable); }
void pdf_drop_xobject(fz_context *ctx, pdf_xobject *xobj) { fz_drop_storable(ctx, &xobj->storable); }
void pdf_drop_pattern(fz_context *ctx, pdf_pattern *pat) { fz_drop_storable(ctx, &pat->storable); }
void fz_drop_pixmap(fz_context *ctx, fz_pixmap *pix) { fz_drop_storable(ctx, &pix->storable); }
void fz_drop_transfer_function(fz_context *ctx, fz_transfer_function *tr) { if (tr) fz_drop_storable(ctx, &tr->storable); }
void fz_drop_function(fz_context *ctx, fz_function *func) { fz_drop_storable(ctx, &func->storable); }