mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
C#: Avoid StringName allocation in GodotObject.Free
This commit is contained in:
parent
c5c1cd4440
commit
b0348d0e58
1 changed files with 2 additions and 3 deletions
|
|
@ -3123,9 +3123,8 @@ Error BindingsGenerator::_generate_cs_method(const BindingsGenerator::TypeInterf
|
|||
if (p_imethod.requires_object_call) {
|
||||
// Fallback to Godot's object.Call(string, params)
|
||||
|
||||
p_output.append(INDENT2 CS_METHOD_CALL "(\"");
|
||||
p_output.append(p_imethod.name);
|
||||
p_output.append("\"");
|
||||
p_output.append(INDENT2 CS_METHOD_CALL "(");
|
||||
p_output.append("MethodName." + p_imethod.proxy_name);
|
||||
|
||||
for (const ArgumentInterface &iarg : p_imethod.arguments) {
|
||||
p_output.append(", ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue