1
0
Fork 0
hvif-light/src/hvif-light.h

24 lines
364 B
C
Raw Normal View History

#ifndef HVIF_LIGHT_H
#define HVIF_LIGHT_H
2020-02-21 20:34:29 +01:00
#include <stdbool.h>
#include <stdio.h>
2020-02-21 20:34:29 +01:00
typedef struct hvif_image hvif_image;
typedef struct hvif_result hvif_result;
struct hvif_result
{
bool success;
union
{
char const* const error;
hvif_image* image;
};
};
2020-02-21 20:34:29 +01:00
hvif_result hvif_from_file(FILE* file);
void hvif_free(hvif_image* image);
#endif // HVIF_LIGHT_H