Minor tweaks in Swig_feature_set

This commit is contained in:
William S Fulton 2013-12-05 21:21:07 +00:00
commit 6d97335d94
3 changed files with 3 additions and 5 deletions

View file

@ -863,9 +863,7 @@ void SWIG_getoptions(int argc, char *argv[]) {
}
static void flatten_nested() {
String *val = NewString("1");
Swig_feature_set(Swig_cparse_features(), "", 0, "feature:flatnested", val, 0);
Delete(val);
Swig_feature_set(Swig_cparse_features(), "", 0, "feature:flatnested", "1", 0);
}