Switch from using Allocator to Arena
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef TIFFREAD_H
|
||||
#define TIFFREAD_H
|
||||
|
||||
#include "mem_arena.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
@@ -124,7 +125,7 @@ struct tiff_image {
|
||||
bool extra_samples_offset;
|
||||
};
|
||||
|
||||
Image *read_baseline_tiff(const char *file, const Allocator *allocator);
|
||||
Image *read_baseline_tiff(const char *file, Arena *arena);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user