O2S C Library 1.8.2
Provide high-level data-structures and other fundamental tools for C projects
Loading...
Searching...
No Matches
private.h
Go to the documentation of this file.
1#pragma once
2
3/* ************************************************************************** */
4/* ____ _ _____ ____ _ _ _ _____ _ _ ____ ____ */
5/* / ___| / \ | ___| _ \ / \ | \ | | |_ _| || | | _ \/ ___| */
6/* \___ \ / _ \ | |_ | |_) | / _ \ | \| | | | | || |_| | | \___ \ */
7/* ___) / ___ \| _| | _ < / ___ \| |\ | | | |__ _| |_| |___) | */
8/* |____/_/ \_|_| |_| \_/_/ \_|_| \_| |_| |_| |____/|____/ */
9/* */
17/* ************************************************************************** */
18
19#include "o2s/array.h"
20
22#define ARRAY_INITIAL_SIZE 16
24#define ARRAY_GROWTH_FACTOR 2
25
26size_t array_offset(const array_t* self, size_t count);
size_t array_offset(const array_t *self, size_t count)
The size in memory of count elements.
Definition memory.c:23
Dynamic arrays.
O2S array implementation.
Definition array.h:24