|
ncloader
0.1
|
#include <slibc.h>#include <sys/types.h>#include <stdio.h>#include <stddef.h>#include <assert.h>#include "allocator.h"
allocator.c에 대한 include 의존 그래프데이타 구조 | |
| struct | chunk |
| Chunk 자료구조 더 자세히 ... | |
| struct | allocator |
| Allocator handle 자료구조 더 자세히 ... | |
함수 | |
| struct allocator * | allocator_init (unsigned int base, unsigned int size) |
| Allocator 초기화를 한다. 더 자세히 ... | |
| int | allocator_fini (struct allocator *handle) |
| Allocator 를 finalize 시킨다. 더 자세히 ... | |
| void * | allocator_alloc (struct allocator *handle, int size) |
| 메모리를 할당 한다. 더 자세히 ... | |
| int | allocator_chunk_size (void *ptr) |
| 할당된 메모리가 가진 크기를 얻는다. 더 자세히 ... | |
| void | allocator_free (struct allocator *handle, void *ptr) |
| 할당한 메모리를 해제한다. 더 자세히 ... | |