mirror of
https://github.com/zeldaret/oot-gc.git
synced 2026-10-08 01:34:00 -04:00
36e1694e99
* updated headers * moved current files to their own folder * added OS files * don't use osreboot.c * first os files * match os files * cleanup * remove asm_types.h * review 1 * remove math.h * move emulator headers to their own folder * use the build year instead of the revision number for sdk rev define * updated the comment about the revision * function declaration cleanup * improve formatting * match osreboot * review * add missing files to objdiff.json
15 lines
384 B
C
15 lines
384 B
C
#ifndef _BUFFER_IO
|
|
#define _BUFFER_IO
|
|
|
|
#include "stdio.h"
|
|
|
|
enum { __align_buffer, __dont_align_buffer };
|
|
|
|
void __convert_from_newlines(unsigned char* p, size_t* n);
|
|
void __convert_to_newlines(unsigned char* p, size_t* n);
|
|
void __prep_buffer(FILE*);
|
|
int __load_buffer(FILE*, size_t* bytes_loaded, int alignment);
|
|
int __flush_buffer(FILE*, size_t* bytes_flushed);
|
|
|
|
#endif // _BUFFER_IO
|