libdart_openmvg/src/util.h

10 lines
267 B
C

#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
/*
* Read the contents of a file into an array
* path: path to the file
* contents: array we'll write to that contains the contents of the file.
*/
size_t read_file(const char *path, uint8_t **contents);