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:
parent
a5db03efa7
commit
9a10701c69
12 changed files with 42 additions and 53 deletions
|
|
@ -20,37 +20,37 @@ public partial class VisualShaderNode_CLASS_ : _BASE_
|
|||
return "";
|
||||
}
|
||||
|
||||
public override int _GetReturnIconType()
|
||||
public override long _GetReturnIconType()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public override int _GetInputPortCount()
|
||||
public override long _GetInputPortCount()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public override string _GetInputPortName(int port)
|
||||
public override string _GetInputPortName(long port)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
public override int _GetInputPortType(int port)
|
||||
public override long _GetInputPortType(long port)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public override int _GetOutputPortCount()
|
||||
public override long _GetOutputPortCount()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
public override string _GetOutputPortName(int port)
|
||||
public override string _GetOutputPortName(long port)
|
||||
{
|
||||
return "result";
|
||||
}
|
||||
|
||||
public override int _GetOutputPortType(int port)
|
||||
public override long _GetOutputPortType(long port)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue