]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Constify struct filter access and introduce filter_get().
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 6 Oct 2015 02:32:31 +0000 (02:32 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 10 Jan 2016 11:58:52 +0000 (12:58 +0100)
This modifies all users of the filter API to not access the filter
array directly. Instead all callers now obtain a const pointer to
the filter structure through the new filter_get() accessor function.

However, the filter array can not be made constant yet because the
->init methods modify the filter structure. This requires some casts
in filter_common.c unfortunately.


No differences found