isl_{set,map}_add: don't add obviously empty basic sets/maps
[isl.git] / isl_name.h
blob8d2ffc476e733e7f697b0dced30c60b8f9982518
1 #ifndef ISL_NAME_H
2 #define ISL_NAME_H
4 #include <isl_ctx.h>
6 #if defined(__cplusplus)
7 extern "C" {
8 #endif
10 struct isl_name {
11 int ref;
13 const char *name;
16 struct isl_name *isl_name_alloc(struct isl_ctx *ctx, const char *name);
17 struct isl_name *isl_name_get(struct isl_ctx *ctx, const char *name);
18 struct isl_name *isl_name_copy(struct isl_ctx *ctx, struct isl_name *name);
19 void isl_name_free(struct isl_ctx *ctx, struct isl_name *name);
21 #if defined(__cplusplus)
23 #endif
25 #endif