diff options
author | NRK <nrk@disroot.org> | 2023-07-02 16:15:53 +0200 |
---|---|---|
committer | NRK <nrk@disroot.org> | 2023-09-21 00:54:41 +0200 |
commit | 53a43cb38838bd65512b3b8902cc8a3ecfaaca56 (patch) | |
tree | db32241dfce726a02e863c98690812c83cd1473f /nsxiv.h | |
parent | 69d4957a92030bf89323d9174c45263727483de4 (diff) | |
download | nsxiv-53a43cb38838bd65512b3b8902cc8a3ecfaaca56.tar.zst |
introduce img_free()
this removes some repetitive code.
Diffstat (limited to 'nsxiv.h')
-rw-r--r-- | nsxiv.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -217,6 +217,7 @@ struct img { void img_init(img_t*, win_t*); bool img_load(img_t*, const fileinfo_t*); +CLEANUP void img_free(Imlib_Image, bool); CLEANUP void img_close(img_t*, bool); void img_render(img_t*); bool img_fit_win(img_t*, scalemode_t); |