doc: remove "struct" in front of isl_* types
authorSebastian Pop <sebpop@gmail.com>
Wed, 3 Aug 2011 22:20:07 +0000 (17:20 -0500)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 4 Aug 2011 14:55:02 +0000 (16:55 +0200)
Signed-off-by: Sebastian Pop <sebpop@gmail.com>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
doc/user.pod
include/isl/map.h
include/isl/mat.h
include/isl/union_map.h
include/isl/union_set.h

index 81628e2..679d86a 100644 (file)
@@ -771,7 +771,7 @@ dimensions is zero.
        __isl_give isl_basic_map *isl_basic_map_read_from_str(
                isl_ctx *ctx, const char *str, int nparam);
        __isl_give isl_map *isl_map_read_from_file(
-               struct isl_ctx *ctx, FILE *input, int nparam);
+               isl_ctx *ctx, FILE *input, int nparam);
        __isl_give isl_map *isl_map_read_from_str(isl_ctx *ctx,
                const char *str, int nparam);
 
@@ -779,13 +779,13 @@ dimensions is zero.
        __isl_give isl_union_set *isl_union_set_read_from_file(
                isl_ctx *ctx, FILE *input);
        __isl_give isl_union_set *isl_union_set_read_from_str(
-               struct isl_ctx *ctx, const char *str);
+               isl_ctx *ctx, const char *str);
 
        #include <isl/union_map.h>
        __isl_give isl_union_map *isl_union_map_read_from_file(
                isl_ctx *ctx, FILE *input);
        __isl_give isl_union_map *isl_union_map_read_from_str(
-               struct isl_ctx *ctx, const char *str);
+               isl_ctx *ctx, const char *str);
 
 The input format is autodetected and may be either the C<PolyLib> format
 or the C<isl> format.
@@ -1053,9 +1053,9 @@ For example, to create a set containing the even integers
 between 10 and 42, you would use the following code.
 
        isl_int v;
-       struct isl_dim *dim;
-       struct isl_constraint *c;
-       struct isl_basic_set *bset;
+       isl_dim *dim;
+       isl_constraint *c;
+       isl_basic_set *bset;
 
        isl_int_init(v);
        dim = isl_dim_set_alloc(ctx, 0, 2);
@@ -1088,7 +1088,7 @@ between 10 and 42, you would use the following code.
 
 Or, alternatively,
 
-       struct isl_basic_set *bset;
+       isl_basic_set *bset;
        bset = isl_basic_set_read_from_str(ctx,
                "{[i] : exists (a : i = 2a and i >= 10 and i <= 42)}", -1);
 
@@ -2272,7 +2272,7 @@ Lists can be created, copied and freed using the following functions.
 
        #include <isl/list.h>
        __isl_give isl_set_list *isl_set_list_from_set(
-               __isl_take struct isl_set *el);
+               __isl_take isl_set *el);
        __isl_give isl_set_list *isl_set_list_alloc(
                isl_ctx *ctx, int n);
        __isl_give isl_set_list *isl_set_list_copy(
@@ -2294,10 +2294,10 @@ Lists can be inspected using the following functions.
        #include <isl/list.h>
        isl_ctx *isl_set_list_get_ctx(__isl_keep isl_set_list *list);
        int isl_set_list_n_set(__isl_keep isl_set_list *list);
-       __isl_give struct isl_set *isl_set_list_get_set(
+       __isl_give isl_set *isl_set_list_get_set(
                __isl_keep isl_set_list *list, int index);
        int isl_set_list_foreach(__isl_keep isl_set_list *list,
-               int (*fn)(__isl_take struct isl_set *el, void *user),
+               int (*fn)(__isl_take isl_set *el, void *user),
                void *user);
 
 Lists can be printed using
@@ -2312,7 +2312,7 @@ Lists can be printed using
 Matrices can be created, copied and freed using the following functions.
 
        #include <isl/mat.h>
-       __isl_give isl_mat *isl_mat_alloc(struct isl_ctx *ctx,
+       __isl_give isl_mat *isl_mat_alloc(isl_ctx *ctx,
                unsigned n_row, unsigned n_col);
        __isl_give isl_mat *isl_mat_copy(__isl_keep isl_mat *mat);
        void isl_mat_free(__isl_take isl_mat *mat);
index 715811a..6e075ca 100644 (file)
@@ -170,7 +170,7 @@ __isl_give isl_basic_map *isl_basic_map_read_from_file(isl_ctx *ctx,
                FILE *input, int nparam);
 __isl_give isl_basic_map *isl_basic_map_read_from_str(isl_ctx *ctx,
                const char *str, int nparam);
-__isl_give isl_map *isl_map_read_from_file(struct isl_ctx *ctx,
+__isl_give isl_map *isl_map_read_from_file(isl_ctx *ctx,
                FILE *input, int nparam);
 __isl_give isl_map *isl_map_read_from_str(isl_ctx *ctx,
                const char *str, int nparam);
index eda1048..e888888 100644 (file)
@@ -26,7 +26,7 @@ typedef struct isl_mat        isl_mat;
 
 isl_ctx *isl_mat_get_ctx(__isl_keep isl_mat *mat);
 
-__isl_give isl_mat *isl_mat_alloc(struct isl_ctx *ctx,
+__isl_give isl_mat *isl_mat_alloc(isl_ctx *ctx,
        unsigned n_row, unsigned n_col);
 struct isl_mat *isl_mat_dup(struct isl_mat *mat);
 struct isl_mat *isl_mat_extend(struct isl_mat *mat,
index 5f61d0a..9dff99d 100644 (file)
@@ -127,7 +127,7 @@ __isl_give isl_union_map *isl_union_map_lex_ge_union_map(
 
 __isl_give isl_union_map *isl_union_map_read_from_file(isl_ctx *ctx,
        FILE *input);
-__isl_give isl_union_map *isl_union_map_read_from_str(struct isl_ctx *ctx,
+__isl_give isl_union_map *isl_union_map_read_from_str(isl_ctx *ctx,
        const char *str);
 __isl_give isl_printer *isl_printer_print_union_map(__isl_take isl_printer *p,
        __isl_keep isl_union_map *umap);
index 3401f4e..57e26d8 100644 (file)
@@ -90,7 +90,7 @@ __isl_give isl_union_set *isl_union_set_solutions(
 
 __isl_give isl_union_set *isl_union_set_read_from_file(isl_ctx *ctx,
        FILE *input);
-__isl_give isl_union_set *isl_union_set_read_from_str(struct isl_ctx *ctx,
+__isl_give isl_union_set *isl_union_set_read_from_str(isl_ctx *ctx,
        const char *str);
 __isl_give isl_printer *isl_printer_print_union_set(__isl_take isl_printer *p,
        __isl_keep isl_union_set *uset);