bb
This commit is contained in:
parent
a32b211d20
commit
5018ccbbb0
13 changed files with 5549 additions and 0 deletions
13
text_rendering/util.h
Normal file
13
text_rendering/util.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef _UTIL_H
|
||||
#define _UTIL_H
|
||||
|
||||
void * emalloc(unsigned long int size);
|
||||
void * ecalloc(unsigned long int nmemb, unsigned long int size);
|
||||
void efree(void *ptr);
|
||||
|
||||
void map_file(const unsigned char **str, int *size, const char *path);
|
||||
void dump_file(const char *path, unsigned char **buf, int *buf_len);
|
||||
|
||||
void print_byte(unsigned char byte);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue