Merge branch 'maint'
[platform/upstream/isl.git] / isl_id_private.h
1 /*
2  * Copyright 2008-2009 Katholieke Universiteit Leuven
3  *
4  * Use of this software is governed by the GNU LGPLv2.1 license
5  *
6  * Written by Sven Verdoolaege, K.U.Leuven, Departement
7  * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
8  */
9
10 #ifndef ISL_ID_PRIVATE_H
11 #define ISL_ID_PRIVATE_H
12
13 #include <isl/id.h>
14
15 struct isl_id {
16         int ref;
17         isl_ctx *ctx;
18
19         const char *name;
20         void *user;
21         uint32_t hash;
22 };
23
24 uint32_t isl_hash_id(uint32_t hash, __isl_keep isl_id *id);
25
26 extern isl_id isl_id_none;
27
28 #endif