diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2017-04-14 16:49:17 +0100 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2017-04-14 16:49:17 +0100 |
commit | 5a8932cb21f63af86dffa419ec5da5f4a5d29d70 (patch) | |
tree | 87a1832eec5ad21f993fe551c511fcf14ad5a125 /src/loader.h | |
parent | 50759fb279b38c5db7cacf88206188b827f564b2 (diff) | |
download | imv-5a8932cb21f63af86dffa419ec5da5f4a5d29d70.tar.gz |
Refactor loader to new style
Diffstat (limited to 'src/loader.h')
-rw-r--r-- | src/loader.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/loader.h b/src/loader.h index d2418a2..04dc640 100644 --- a/src/loader.h +++ b/src/loader.h @@ -44,11 +44,11 @@ struct imv_loader { double frame_time; }; -/* Initialises an instance of imv_loader */ -void imv_init_loader(struct imv_loader *img); +/* Creates an instance of imv_loader */ +struct imv_loader *imv_loader_create(void); -/* Cleans up all resources owned by a imv_loader instance */ -void imv_destroy_loader(struct imv_loader *img); +/* Cleans up an imv_loader instance */ +void imv_loader_free(struct imv_loader *ldr); /* Asynchronously load the given file */ void imv_loader_load(struct imv_loader *ldr, const char *path, |