summaryrefslogtreecommitdiffstats
path: root/platform/javascript/audio_driver_javascript.cpp
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2023-02-24 15:41:48 -0300
committerGeorge Marques <george@gmarqu.es>2023-08-21 10:45:26 -0300
commit150b50cfcde95f74419ade2811d963224e96fc98 (patch)
tree76ee4e0a50852cf1972a6f05cbe45c9750dbdb6a /platform/javascript/audio_driver_javascript.cpp
parent970be7afdc111ccc7459d7ef3560de70e6d08c80 (diff)
downloadredot-engine-150b50cfcde95f74419ade2811d963224e96fc98.tar.gz
Make freed object different than null in comparison operators
This is so everything is consistent, as a freed object is not equivalent to `null` in general. The booleanization of a freed object still returns `false` to work as an easy check for validity of objects. Similarly, the negation of a freed object returns `true`. Also makes freed objects different from each other (if they are not the same reference).
Diffstat (limited to 'platform/javascript/audio_driver_javascript.cpp')
0 files changed, 0 insertions, 0 deletions