mirror of https://github.com/swig/swig
[Ruby] Remove -feature command line option
This has been deprecated since SWIG 1.3.32 in 2007. Use -init_name instead.
This commit is contained in:
parent
55207d5e52
commit
6ddcbf5959
|
@ -7,6 +7,10 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
|
|||
Version 4.2.0 (in progress)
|
||||
===========================
|
||||
|
||||
2023-08-09: olly
|
||||
[Ruby] Remove -feature command line option which has been
|
||||
deprecated since SWIG 1.3.32 in 2007. Use -init_name instead.
|
||||
|
||||
2023-08-06: wsfulton
|
||||
Add support for using declarations to introduce templated member
|
||||
methods and for inheriting templated constructors, such as:
|
||||
|
|
|
@ -854,19 +854,6 @@ public:
|
|||
} else {
|
||||
Swig_arg_error();
|
||||
}
|
||||
}
|
||||
else if (strcmp(argv[i], "-feature") == 0) {
|
||||
fprintf( stderr, "Warning: Ruby -feature option is deprecated, "
|
||||
"please use -initname instead.\n");
|
||||
if (argv[i + 1]) {
|
||||
char *name = argv[i + 1];
|
||||
feature = NewString(name);
|
||||
Swig_mark_arg(i);
|
||||
Swig_mark_arg(i + 1);
|
||||
i++;
|
||||
} else {
|
||||
Swig_arg_error();
|
||||
}
|
||||
} else if (strcmp(argv[i], "-globalmodule") == 0) {
|
||||
useGlobalModule = true;
|
||||
Swig_mark_arg(i);
|
||||
|
|
Loading…
Reference in New Issue