Consistent implementation for disabled languages
The deprecated php4 and php5 use the new Disabled language handling recently implemented for a consistent implementation
This commit is contained in:
parent
264b39fd00
commit
29d30bd319
2 changed files with 2 additions and 18 deletions
|
|
@ -2861,17 +2861,3 @@ static Language *new_swig_php() {
|
|||
extern "C" Language *swig_php(void) {
|
||||
return new_swig_php();
|
||||
}
|
||||
|
||||
extern "C" Language *swig_php4(void) {
|
||||
Printf(stderr, "*** -php4 is no longer supported.\n"
|
||||
"*** Either upgrade to PHP5 or use SWIG 1.3.36 or earlier.\n");
|
||||
SWIG_exit(EXIT_FAILURE);
|
||||
return NULL; // To avoid compiler warnings.
|
||||
}
|
||||
|
||||
extern "C" Language *swig_php5(void) {
|
||||
Printf(stderr, "*** -php5 is no longer supported.\n"
|
||||
"*** Either upgrade to PHP7 or use SWIG < 4.0.0.\n");
|
||||
SWIG_exit(EXIT_FAILURE);
|
||||
return NULL; // To avoid compiler warnings.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue