aboutsummaryrefslogtreecommitdiff
path: root/src/file.h
blob: 7d15bd049a18b0d8a8989fe1fd50070a7017375f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include <stddef.h>
#include <stdbool.h>

struct File
{
	char* data;
	size_t size;
};

bool read_file(const char* path, struct File* out);
void free_file(struct File* file);