18#ifndef __VSF_DYNSTACK_H__
19#define __VSF_DYNSTACK_H__
24#if VSF_USE_DYNSTACK == ENABLED
26#include "../dynarr/vsf_dynarr.h"
28#if defined(__VSF_DYNSTACK_CLASS_IMPLEMENT)
29# define __VSF_CLASS_IMPLEMENT__
30# undef __VSF_DYNSTACK_CLASS_IMPLEMENT
31#elif defined(__VSF_DYNSTACK_CLASS_INHERIT__)
32# define __VSF_CLASS_INHERIT__
33# undef __VSF_DYNSTACK_CLASS_INHERIT__
vsf_err_t
Definition __type.h:42
Definition vsf_dynarr.h:44
Definition vsf_dynstack.h:45
unsigned int uint32_t
Definition lvgl.h:43
#define vsf_class(__name)
Definition ooc_class.h:48
unsigned int uint_fast32_t
Definition stdint.h:27
unsigned short uint_fast16_t
Definition stdint.h:25
vsf_err_t vsf_dynstack_push(vsf_dynstack_t *stack, void *item, uint_fast16_t num)
Definition vsf_dynstack.c:72
void vsf_dynstack_fini(vsf_dynstack_t *stack)
Definition vsf_dynstack.c:49
void vsf_dynstack_reset(vsf_dynstack_t *stack)
Definition vsf_dynstack.c:43
vsf_err_t vsf_dynstack_pop_ext(vsf_dynstack_t *stack, void *ptr, uint_fast32_t len)
Definition vsf_dynstack.c:108
vsf_err_t vsf_dynstack_push_ext(vsf_dynstack_t *stack, void *ptr, uint_fast32_t len)
Definition vsf_dynstack.c:92
vsf_err_t vsf_dynstack_init(vsf_dynstack_t *stack)
Definition vsf_dynstack.c:37
void * vsf_dynstack_get(vsf_dynstack_t *stack, uint_fast32_t offset)
Definition vsf_dynstack.c:54
void * vsf_dynstack_pop(vsf_dynstack_t *stack, uint_fast16_t num)
Definition vsf_dynstack.c:62
uint64_t offset
Definition vsf_memfs.h:49