about summary refs log tree commit diff stats
path: root/inc/salloc.h
blob: 4a6432e5fd6262f0d65d76e2aaa5794704ce9b7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef LIBSPICY_SALLOC_H
#define LIBSPICY_SALLOC_H

#include <stdlib.h>

int salloc_configure(size_t pagesize, size_t max_pages, size_t max_allocs);
void *salloc(size_t size);
void *scalloc(size_t number, size_t count);
void sfree(void *ptr);
void sfreea(void);

#endif