diff options
author | Raul Santos <raulsntos@gmail.com> | 2022-09-01 00:40:59 +0200 |
---|---|---|
committer | Raul Santos <raulsntos@gmail.com> | 2022-09-01 10:29:52 +0200 |
commit | 9a10701c69f073d3d52764c54a1d008475683858 (patch) | |
tree | 0374c1cb576b7beeeb45ad40b52ce881bf4e6210 /modules/mono/editor/Godot.NET.Sdk | |
parent | a5db03efa724b8910281d73576d31cc662b8cc13 (diff) |
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`
Diffstat (limited to 'modules/mono/editor/Godot.NET.Sdk')
-rw-r--r-- | modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Sample/ScriptBoilerplate.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Sample/ScriptBoilerplate.cs b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Sample/ScriptBoilerplate.cs index a1667dbb8f..e43a3469ae 100644 --- a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Sample/ScriptBoilerplate.cs +++ b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Sample/ScriptBoilerplate.cs @@ -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; |