blob: 8cc7a888d4b1397c703c6df7fd934aba27755b87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef _TIL_SETUP_H
#define _TIL_SETUP_H
typedef struct til_setup_t til_setup_t;
struct til_setup_t {
unsigned refcount;
void (*free)(til_setup_t *setup);
};
void * til_setup_new(size_t size, void (*free_func)(til_setup_t *setup));
void * til_setup_ref(til_setup_t *setup);
void * til_setup_free(til_setup_t *setup);
#endif
|