|
GrafX2 2.9.3227
The ultimate 256-color painting program
|
#include <sys/types.h>
Include dependency graph for gfx2mem.h:
This graph shows which files directly or indirectly include this file:Macros | |
| #define | GFX2_malloc(size) GFX2_malloc_and_log((size), __FILE__, __LINE__) |
| malloc() memory and log in case of error More... | |
Functions | |
| void * | GFX2_malloc_and_log (size_t size, const char *file, unsigned line) |
| malloc() memory and log in case of error More... | |
| int | GFX2_is_mem_filled_with (const void *p, unsigned char b, size_t len) |
| checks if a memory zone is filled with the same byte value More... | |
| #define GFX2_malloc | ( | size | ) | GFX2_malloc_and_log((size), __FILE__, __LINE__) |
malloc() memory and log in case of error
| void * GFX2_malloc_and_log | ( | size_t | size, |
| const char * | file, | ||
| unsigned | line | ||
| ) |
malloc() memory and log in case of error
References GFX2_ERROR, GFX2_Log(), and NULL.
| int GFX2_is_mem_filled_with | ( | const void * | p, |
| unsigned char | b, | ||
| size_t | len | ||
| ) |
checks if a memory zone is filled with the same byte value
Referenced by Load_SCR(), and Test_Read_Write_bytes().