NULL to nullptr

This commit is contained in:
Arthur Ice
2013-05-04 18:06:58 -07:00
parent e1c2657b11
commit 7560b6b0a7
216 changed files with 4151 additions and 4151 deletions
+7 -7
View File
@@ -49,8 +49,8 @@ XS(XS_HateEntry_GetEnt)
}
else
Perl_croak(aTHX_ "THIS is not of type tHateEntry");
if(THIS == NULL)
Perl_croak(aTHX_ "THIS is NULL, avoiding crash.");
if(THIS == nullptr)
Perl_croak(aTHX_ "THIS is nullptr, avoiding crash.");
RETVAL = THIS->ent;
ST(0) = sv_newmortal();
@@ -76,8 +76,8 @@ XS(XS_HateEntry_GetHate)
}
else
Perl_croak(aTHX_ "THIS is not of type tHateEntry");
if(THIS == NULL)
Perl_croak(aTHX_ "THIS is NULL, avoiding crash.");
if(THIS == nullptr)
Perl_croak(aTHX_ "THIS is nullptr, avoiding crash.");
RETVAL = THIS->hate;
XSprePUSH; PUSHi((IV)RETVAL);
@@ -102,8 +102,8 @@ XS(XS_HateEntry_GetDamage)
}
else
Perl_croak(aTHX_ "THIS is not of type tHateEntry");
if(THIS == NULL)
Perl_croak(aTHX_ "THIS is NULL, avoiding crash.");
if(THIS == nullptr)
Perl_croak(aTHX_ "THIS is nullptr, avoiding crash.");
RETVAL = THIS->damage;
XSprePUSH; PUSHi((IV)RETVAL);
@@ -138,4 +138,4 @@ XS(boot_HateEntry)
XSRETURN_YES;
}
#endif //EMBPERL_XS_CLASSES
#endif //EMBPERL_XS_CLASSES