1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

C#: Assume 64-bit types when type has no meta

When the C# bindings generator finds a type without meta assume the type
refers to the 64-bit version of the type:
- `float` is converted to `double`
- `int` is converted to `long`
This commit is contained in:
Raul Santos
2022-09-01 00:40:59 +02:00
parent a5db03efa7
commit 9a10701c69
12 changed files with 42 additions and 53 deletions

View File

@@ -7,7 +7,7 @@ namespace Godot.SourceGenerators.Sample
private NodePath _nodePath;
private int _velocity;
public override void _Process(float delta)
public override void _Process(double delta)
{
_ = delta;