about summary refs log tree commit diff stats
path: root/cached.h
blob: 32ca61cb96b60ea1c0ddd8447503585c4c28afa4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#ifndef CACHED_H_
#define CACHED_H_

int
ca_setup(size_t object_size, size_t cache_size);

void *
ca_alloc(void);

void
ca_free(void *object);

void
ca_cleanup(void);

#endif