Cleanup: [Script] Use nullptr instead of 0 or NULL

This commit is contained in:
Rubidium
2021-06-16 21:10:41 +02:00
committed by rubidium42
parent 930bb22416
commit 3237e97b35
7 changed files with 16 additions and 16 deletions

View File

@@ -190,7 +190,7 @@ public:
* @note This will only work just after a function-call from within Squirrel
* to your C++ function.
*/
static bool GetRealInstance(HSQUIRRELVM vm, SQUserPointer *ptr) { return SQ_SUCCEEDED(sq_getinstanceup(vm, 1, ptr, 0)); }
static bool GetRealInstance(HSQUIRRELVM vm, SQUserPointer *ptr) { return SQ_SUCCEEDED(sq_getinstanceup(vm, 1, ptr, nullptr)); }
/**
* Get the Squirrel-instance pointer.