MCPcopy Create free account
hub / github.com/acl-dev/acl / acl_stack_append

Function acl_stack_append

lib_acl/src/stdlib/common/acl_stack.c:208–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void acl_stack_append(ACL_STACK *s, void *obj)
209{
210 if (s == NULL || obj == NULL)
211 return;
212 if (s->count >= s->capacity)
213 stack_grow(s, s->count + 16);
214 s->items[s->count++] = obj;
215}
216
217void acl_stack_prepend(ACL_STACK *s, void *obj)
218{

Callers 6

event_poll_setFunction · 0.85
event_epoll_setFunction · 0.85
test_stack_bat_addFunction · 0.85
acl_allocator_pool_addFunction · 0.85
memPoolFreeFunction · 0.85
stack_push_backFunction · 0.85

Calls 1

stack_growFunction · 0.85

Tested by 1

test_stack_bat_addFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…