diff options
author | Dave Beckett <dave@dajobe.org> | 2010-02-05 18:10:39 -0800 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2010-02-05 18:10:39 -0800 |
commit | 323d0ebb63a8c41afe961f0636974b104212864b (patch) | |
tree | 53f1a0c504901c1ec07e8f0ae2d4e86a70deff9b /src/raptor_sax2.c | |
parent | d747871de0d1bf017bf867ba02b9706ef7ae1f43 (diff) | |
download | raptor-323d0ebb63a8c41afe961f0636974b104212864b.tar.gz |
Replace raptor_feature_get_areas with raptor_feature_is_valid_for_area
(raptor_feature_get_areas): Deleted.
(raptor_feature_is_valid_for_area): Added to check if a feature is
valid for a given area; this all the calls to
raptor_feature_get_areas() ever was used for.
Diffstat (limited to 'src/raptor_sax2.c')
-rw-r--r-- | src/raptor_sax2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raptor_sax2.c b/src/raptor_sax2.c index d1513c57..ced03ffc 100644 --- a/src/raptor_sax2.c +++ b/src/raptor_sax2.c @@ -680,7 +680,7 @@ int raptor_sax2_set_feature(raptor_sax2 *sax2, raptor_feature feature, int value) { if(value < 0 || - !(raptor_feature_get_areas(feature) & RAPTOR_FEATURE_AREA_SAX2)) + !raptor_feature_is_valid_for_area(feature, RAPTOR_FEATURE_AREA_SAX2)) return -1; switch(feature) { |