mirror of
https://github.com/zrax/pycdc.git
synced 2026-06-23 11:34:07 +00:00
Don't create special objects for NULL, just use NULL directly.
Also move null check into PycRef for nullable references.
This commit is contained in:
parent
1329626215
commit
b9dd99d518
12 changed files with 160 additions and 155 deletions
|
|
@ -84,7 +84,7 @@ void PycString::load(PycData* stream, PycModule* mod)
|
|||
|
||||
bool PycString::isEqual(PycRef<PycObject> obj) const
|
||||
{
|
||||
if (type() != obj->type())
|
||||
if (type() != obj.type())
|
||||
return false;
|
||||
|
||||
PycRef<PycString> strObj = obj.cast<PycString>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue