gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-support/png2hicolorgb/src/files.h
1 #ifndef _FILES_H
2 #define _FILES_H
3
4 #include <stdbool.h>
5 #include <stddef.h>
6 #include <stdint.h>
7
8 uint8_t * file_read_into_buffer(char * filename, size_t *ret_size);
9 bool file_write_from_buffer(char * filename, uint8_t * p_buf, size_t data_len);
10
11 char * file_read_into_buffer_char(char * filename, size_t *ret_size);
12 bool file_write_from_buffer_char(char * filename, char * p_buf, size_t data_len);
13
14 #endif // _FILES_H
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.