Skip to content

Commit e9752d2

Browse files
committed
把long的转换器也加上,因为luajit版本是没有整数的
1 parent dbe33ba commit e9752d2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Assets/XLua/Src/RawObject.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ public UInt32(uint i) : base(i)
7575
}
7676
}
7777

78+
public class Int64 : Any<long>
79+
{
80+
public Int64(long i) : base(i)
81+
{
82+
}
83+
}
84+
7885
public class UInt64 : Any<ulong>
7986
{
8087
public UInt64(ulong i) : base(i)
@@ -88,4 +95,4 @@ public Float(float i) : base(i)
8895
{
8996
}
9097
}
91-
}
98+
}

0 commit comments

Comments
 (0)