mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 05:37:17 +00:00
NULL to nullptr
This commit is contained in:
1 parent
e1c2657b11
commit
7560b6b0a7
216 files changed
+4151
-4151
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user