source: Daodan/MSYS2/mingw32/include/isl/id.h@ 1189

Last change on this file since 1189 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.4 KB
Line 
1#ifndef ISL_ID_H
2#define ISL_ID_H
3
4#include <isl/ctx.h>
5#include <isl/id_type.h>
6#include <isl/list.h>
7#include <isl/multi.h>
8#include <isl/printer_type.h>
9#include <isl/stdint.h>
10
11#if defined(__cplusplus)
12extern "C" {
13#endif
14
15ISL_DECLARE_EXPORTED_LIST_FN(id)
16
17ISL_DECLARE_MULTI(id)
18
19isl_ctx *isl_id_get_ctx(__isl_keep isl_id *id);
20uint32_t isl_id_get_hash(__isl_keep isl_id *id);
21
22__isl_give isl_id *isl_id_alloc(isl_ctx *ctx,
23 __isl_keep const char *name, void *user);
24__isl_give isl_id *isl_id_copy(isl_id *id);
25__isl_null isl_id *isl_id_free(__isl_take isl_id *id);
26
27void *isl_id_get_user(__isl_keep isl_id *id);
28__isl_export
29__isl_keep const char *isl_id_get_name(__isl_keep isl_id *id);
30
31__isl_give isl_id *isl_id_set_free_user(__isl_take isl_id *id,
32 void (*free_user)(void *user));
33
34__isl_constructor
35__isl_give isl_id *isl_id_read_from_str(isl_ctx *ctx, const char *str);
36__isl_give char *isl_id_to_str(__isl_keep isl_id *id);
37__isl_give isl_printer *isl_printer_print_id(__isl_take isl_printer *p,
38 __isl_keep isl_id *id);
39void isl_id_dump(__isl_keep isl_id *id);
40
41__isl_constructor
42__isl_give isl_multi_id *isl_multi_id_read_from_str(isl_ctx *ctx,
43 const char *str);
44__isl_give isl_printer *isl_printer_print_multi_id(__isl_take isl_printer *p,
45 __isl_keep isl_multi_id *mi);
46void isl_multi_id_dump(__isl_keep isl_multi_id *mi);
47__isl_give char *isl_multi_id_to_str(__isl_keep isl_multi_id *mi);
48
49#if defined(__cplusplus)
50}
51#endif
52
53#endif
Note: See TracBrowser for help on using the repository browser.