17 #ifndef YAMICORE_ALLOCATOR_H_INCLUDED 18 #define YAMICORE_ALLOCATOR_H_INCLUDED 35 void set_working_area(
void * buf, std::size_t size);
37 void * allocate(std::size_t requested_size);
39 void deallocate(
const void * p);
41 void get_free_size(std::size_t & biggest, std::size_t & all)
const;
44 allocator(
const allocator &);
45 void operator=(
const allocator &);
50 void * first_free_segment_;
57 #endif // YAMICORE_ALLOCATOR_H_INCLUDED Namespace devoted for everything related to YAMI4.
Definition: agent.h:25