fix: enable generic support
This commit is contained in:
parent
2b114a0e4f
commit
21161df232
@ -2,6 +2,14 @@
|
|||||||
|
|
||||||
public class Math
|
public class Math
|
||||||
{
|
{
|
||||||
|
static public float Reccursive(float n) {
|
||||||
|
return Reccursive(n, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
static private float Reccursive(float n, float i) {
|
||||||
|
return n;
|
||||||
|
}
|
||||||
|
|
||||||
public float Substract(float a, float b)
|
public float Substract(float a, float b)
|
||||||
{
|
{
|
||||||
return a - b;
|
return a - b;
|
||||||
@ -12,7 +20,7 @@ public class Math
|
|||||||
return a * b;
|
return a * b;
|
||||||
}
|
}
|
||||||
|
|
||||||
public float Devide(float a, float b)
|
public float Divide(float a, float b)
|
||||||
{
|
{
|
||||||
return a / b;
|
return a / b;
|
||||||
}
|
}
|
||||||
@ -26,4 +34,9 @@ public class Math
|
|||||||
{
|
{
|
||||||
return a + b;
|
return a + b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public List<float> Iterate(float a, float b)
|
||||||
|
{
|
||||||
|
return [a, b];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
"AssemblyPath": "INPUT_PROJECT_NAME/bin/Release/INPUT_NET_SPEC/INPUT_PROJECT_NAME.dll",
|
"AssemblyPath": "INPUT_PROJECT_NAME/bin/Release/INPUT_NET_SPEC/INPUT_PROJECT_NAME.dll",
|
||||||
"CSharpUnmanagedOutputPath": "GENERATED_PROJECT_NAME/Generated.cs",
|
"CSharpUnmanagedOutputPath": "GENERATED_PROJECT_NAME/Generated.cs",
|
||||||
"COutputPath": "GENERATED_PROJECT_NAME/Generated.h",
|
"COutputPath": "GENERATED_PROJECT_NAME/Generated.h",
|
||||||
|
"EnableGenericsSupport": true,
|
||||||
"ExcludedTypeNames": [
|
"ExcludedTypeNames": [
|
||||||
"System.GC",
|
"System.GC",
|
||||||
"System.Reflection.MemberInfo",
|
"System.Reflection.MemberInfo",
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"AssemblyPath": "INPUT_PROJECT_NAME/bin/Release/INPUT_NET_SPEC/INPUT_PROJECT_NAME.dll",
|
"AssemblyPath": "INPUT_PROJECT_NAME/bin/Release/INPUT_NET_SPEC/INPUT_PROJECT_NAME.dll",
|
||||||
"CSharpUnmanagedOutputPath": "GENERATED_PROJECT_NAME/Generated.cs",
|
"CSharpUnmanagedOutputPath": "GENERATED_PROJECT_NAME/Generated.cs",
|
||||||
"COutputPath": "GENERATED_PROJECT_NAME/Generated.h"
|
"COutputPath": "GENERATED_PROJECT_NAME/Generated.h",
|
||||||
|
"EnableGenericsSupport": true
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user