Fix: [Script] Improve type checking of parameters (#13522)
This commit is contained in:
@@ -194,7 +194,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, nullptr)); }
|
||||
static SQUserPointer GetRealInstance(HSQUIRRELVM vm, int index, const char *tag);
|
||||
|
||||
/**
|
||||
* Get the Squirrel-instance pointer.
|
||||
|
||||
Reference in New Issue
Block a user