diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2025-06-18 17:58:33 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-06-24 19:32:41 +0000 |
commit | b4e5860fd5f722cc849265f1fa4ea20b4071fa1d (patch) | |
tree | 972b0050f7eaa134e5f5d5f3437cd905bf073c44 /BaseTools/Source/Python/sitecustomize.py | |
parent | f93e6a074326ba0d4649990aa3337c845311e9b2 (diff) | |
download | edk2-b4e5860fd5f722cc849265f1fa4ea20b4071fa1d.zip edk2-b4e5860fd5f722cc849265f1fa4ea20b4071fa1d.tar.gz edk2-b4e5860fd5f722cc849265f1fa4ea20b4071fa1d.tar.bz2 |
UnitTestFrameworkPkg/GoogleTestLib: Enhance unit test NULL checks
gtest.h uses standard includes that define NULL to __null. This
is different that the C++ standard that uses nullptr. Redefine
NULL in GoogleTestLib.h to use C++ form of nullptr. This allows
NULL to be used in checks and mocks without explicit typecasts.
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/sitecustomize.py')
0 files changed, 0 insertions, 0 deletions