OBSTACK.H

CREATING OBSTACKS

void *obstack_init(struct obstack *ob, size_t size)

ALLOCATION IN AN OBSTACK

void *obstack_alloc(struct obstack *ob, size_t size)

void *obstack_copy(struct obstack *ob, void *p, size_t size)

void *obstack_copy0(struct obstack *ob, void *p, size_t size)

FREEING OBSTACK OBJECTS

void *obstack_free(struct obstack *ob, void *object)

GROWING OBJECTS

void *obstack_1grow(struct obstack *ob, int c)

void *obstack_blank(struct obstack *ob, int size)

int obstack_grow(struct obstack *ob, void *data, size_t size)

int obstack_grow0(struct obstack *ob,void *data,size_t size)

void *obstack_int_grow(struct obstack *ob, int data)

int obstack_printf(struct obstack *ob, const char *format, ...)

(stdio)

int obstack_vprintf(struct obstack *ob, const char *format, va_list arg)

(stdio)

FAST GROWING OF OBJECTS

void *obstack_1grow_fast(struct obstack *ob,int c)

void *obstack_blank_fast(struct obstack *ob, int size)

void *obstack_int_grow_fast(struct obstack *ob, int data)

STATUS OF AN OBSTACK

void *obstack_base(struct obstack *ob)

void *obstack_finish(struct obstack *ob)

void *obstack_next_free(struct obstack *ob)

size_t obstack_object_size(struct obstack *ob)

size_t obstack_room(struct obstack *ob)

OBSTACK DATA ALIGNMENT

size_t obstack_align_distance(struct obstack *ob, size_t alignment)

int obstack_align_to(struct obstack *ob, size_t alignment)

 
libnew/alloc_obstack.txt · Last modified: 2015/07/26 22:15 by aralbrec
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki