Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Export lists #19

Open
wants to merge 5 commits into
base: continious-integration
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions include/isl/ctx.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
#ifndef __isl_subclass
#define __isl_subclass(super)
#endif
#ifndef __isl_list
#define __isl_list(elem)
#endif

#if defined(__cplusplus)
extern "C" {
Expand Down
4 changes: 3 additions & 1 deletion include/isl/id.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
extern "C" {
#endif

struct isl_id;
struct __isl_export isl_id;
typedef struct isl_id isl_id;

ISL_DECLARE_LIST(id)
Expand All @@ -23,7 +23,9 @@ __isl_give isl_id *isl_id_alloc(isl_ctx *ctx,
__isl_give isl_id *isl_id_copy(isl_id *id);
__isl_null isl_id *isl_id_free(__isl_take isl_id *id);

__isl_export
void *isl_id_get_user(__isl_keep isl_id *id);
__isl_export
__isl_keep const char *isl_id_get_name(__isl_keep isl_id *id);

__isl_give isl_id *isl_id_set_free_user(__isl_take isl_id *id,
Expand Down
1 change: 1 addition & 0 deletions include/isl/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ __isl_export
__isl_give isl_basic_map *isl_basic_map_intersect(
__isl_take isl_basic_map *bmap1,
__isl_take isl_basic_map *bmap2);
__isl_export
__isl_give isl_basic_map *isl_basic_map_list_intersect(
__isl_take isl_basic_map_list *list);
__isl_export
Expand Down
1 change: 1 addition & 0 deletions include/isl/map_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ extern "C" {

struct __isl_subclass(isl_map) isl_basic_map;
typedef struct isl_basic_map isl_basic_map;
struct __isl_list(isl_basic_map) isl_basic_map_list;
ISL_DECLARE_LIST_TYPE(basic_map)
struct __isl_subclass(isl_union_map) isl_map;
typedef struct isl_map isl_map;
Expand Down
3 changes: 3 additions & 0 deletions include/isl/set.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,13 @@ isl_bool isl_set_has_dim_id(__isl_keep isl_set *set,
enum isl_dim_type type, unsigned pos);
__isl_give isl_id *isl_set_get_dim_id(__isl_keep isl_set *set,
enum isl_dim_type type, unsigned pos);
__isl_export
__isl_give isl_set *isl_set_set_tuple_id(__isl_take isl_set *set,
__isl_take isl_id *id);
__isl_give isl_set *isl_set_reset_tuple_id(__isl_take isl_set *set);
__isl_export
isl_bool isl_set_has_tuple_id(__isl_keep isl_set *set);
__isl_export
__isl_give isl_id *isl_set_get_tuple_id(__isl_keep isl_set *set);
__isl_give isl_set *isl_set_reset_user(__isl_take isl_set *set);

Expand Down
1 change: 1 addition & 0 deletions include/isl/val.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ extern "C" {
struct __isl_export isl_val;
typedef struct isl_val isl_val;

struct __isl_list(isl_val) isl_val_list;
ISL_DECLARE_LIST(val)

struct __isl_export isl_multi_val;
Expand Down
Loading