Replace nullptr with NULL

When replacing nullptr by NULL, SWIG 4.2.0 can still be compiled with gcc 4.9.X (ex. Debian Jessie).
This commit is contained in:
PaulObermeier 2024-01-15 20:51:19 +01:00 committed by William S Fulton
parent a6ab914511
commit 472e9dd154
1 changed files with 1 additions and 1 deletions

View File

@ -1425,7 +1425,7 @@ String *JSEmitter::emitInputTypemap(Node *n, Parm *p, Wrapper *wrapper, String *
String *JSEmitter::emitCheckTypemap(Node *, Parm *p, Wrapper *wrapper, String *arg) {
String *tm = Getattr(p, "tmap:check");
if (tm != nullptr) {
if (tm != NULL) {
Replaceall(tm, "$input", arg);
Printf(wrapper->code, "%s\n", tm);
}