Various maintainability and speed improvements

This commit is contained in:
Gareth Evans
2017-02-03 12:52:15 +00:00
parent 8d483d9b6e
commit 594857c92c
3 changed files with 35 additions and 12 deletions

View File

@@ -14,8 +14,10 @@ int ppm_write(image_ctx_t *ctx, FILE* fd);
image_dispatch_table_t ppm_dt = {\
.init = ppm_init, \
.add_pixel = ppm_add_pixel, \
.set_pixel = NULL, \
.get_pixel = ppm_get_pixel, \
.write = ppm_write
.write = ppm_write, \
.free = NULL
};
#endif