Added skip for pointer to functions, added int64_t compat type
This commit is contained in:
9
BlendFile/CompatTypes/int64_t.cs
Normal file
9
BlendFile/CompatTypes/int64_t.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace BlendFile.CompatTypes;
|
||||
|
||||
public readonly struct int64_t {
|
||||
public Int64 Value { get; }
|
||||
|
||||
public int64_t(long value) {
|
||||
Value = value;
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,7 @@ public readonly struct int8_t {
|
||||
private readonly sbyte _value;
|
||||
|
||||
public int8_t(sbyte value) => _value = value;
|
||||
public int8_t(int8_t value) => _value = (sbyte)value._value;
|
||||
public int8_t(int8_t value) => _value = value._value;
|
||||
|
||||
public static explicit operator sbyte(int8_t value) => value._value;
|
||||
public static implicit operator int8_t(sbyte value) => new(value);
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
using System.Numerics;
|
||||
|
||||
namespace BlendFile.CompatTypes;
|
||||
|
||||
public readonly struct uchar {
|
||||
|
||||
Reference in New Issue
Block a user