This commit is contained in:
Vaxry 2024-06-18 18:14:48 +02:00
parent 88d37c9d2d
commit 14aacb71c2
1 changed files with 1 additions and 1 deletions

View File

@ -660,7 +660,7 @@ static const void* {}[] = {{
if (!WPTypeToCType(arg, true).starts_with("C")) if (!WPTypeToCType(arg, true).starts_with("C"))
argsN += arg.name + ", "; argsN += arg.name + ", ";
else else
argsN += arg.name + "->pResource, "; argsN += (arg.name + " ? " + arg.name + "->pResource : nullptr, ");
} }
argsN.pop_back(); argsN.pop_back();