introduce isl_args structure that constains isl_arg list and size of options
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 3 Nov 2011 09:19:43 +0000 (10:19 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 13 Nov 2011 17:18:42 +0000 (18:18 +0100)
commitc1e5c89824b26b40ce10a78c1f61bd1b853ec0f0
treee841b77692e0c0c8a988737f741ae17414a9436e
parent33beeade29f74dc1040bd8ce91cf3acbec2f71f3
introduce isl_args structure that constains isl_arg list and size of options

Before, the size of the options structure of a submodule was stored
inside the corresponding child option of the parent.
This however, requires that the options structure of the submodule
is visible to the parent so that it can compute the size of this structure.
Moreover, if the size of this structure changes, then the code
containing the child option, which may reside in a different module,
would have to be recompiled.

Now, we store the size of the options structure together with the list
of option descriptions.  In particular, it is stored in the same module
as the options structure itself, so that this structure no longer needs
to be exposed.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
bound.c
cat.c
closure.c
include/isl/arg.h
include/isl/ctx.h
include/isl/options.h
isl_arg.c
isl_ctx.c
isl_ctx_private.h
isl_options.c
pip.c