Minor tweaks in Swig_feature_set
This commit is contained in:
parent
7103a06849
commit
6d97335d94
3 changed files with 3 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue