You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
355 B
21 lines
355 B
|
|
#ifndef _LIBMEM_C
|
|
#define _LIBMEM_C
|
|
|
|
void*
|
|
libmem_init(unsigned int addr, int bytes);
|
|
void
|
|
libmem_deinit(void* aself);
|
|
unsigned int
|
|
libmem_alloc(void* obj, int bytes);
|
|
int
|
|
libmem_free(void* obj, unsigned int addr);
|
|
int
|
|
libmem_set_flags(void* obj, int flags);
|
|
int
|
|
libmem_clear_flags(void* obj, int flags);
|
|
int
|
|
libmem_get_alloced_bytes(void* obj);
|
|
|
|
#endif
|