gwion-util
utilities for the Gwion project
Loading...
Searching...
No Matches
include
container.h
Go to the documentation of this file.
1
4
#pragma once
5
6
#define MAP_CAP 8
/*< base container capacity */
7
#define OFFSET 2
/*< size of container offset */
8
#define VLEN(v) (v)->ptr[0]
/*< length */
9
#define VCAP(v) (v)->ptr[1]
/*< capacity */
10
#define VPTR(v, i) (v)->ptr[OFFSET + (i)]
/* pointer to data */
11
12
typedef
uintptr_t
vtype
;
/*< base type for containers, size of a pointer */
13
14
#include "
vector.h
"
15
#include "
m_vector.h
"
16
#include "
map.h
"
17
#include "
scope.h
"
vtype
uintptr_t vtype
Definition
container.h:12
m_vector.h
map.h
Map functions.
scope.h
scope functions
vector.h
vector functions
Generated by
1.13.2