2022-09-22 08:56:07 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2022-10-17 12:16:18 +08:00
|
|
|
|
namespace HybridCLR.Editor.ABI
|
2022-09-22 08:56:07 +08:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public class ParamInfo
|
|
|
|
|
{
|
|
|
|
|
public TypeInfo Type { get; set; }
|
|
|
|
|
|
|
|
|
|
public int Index { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ReturnInfo
|
|
|
|
|
{
|
|
|
|
|
public TypeInfo Type { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool IsVoid => Type.PorType == ParamOrReturnType.VOID;
|
|
|
|
|
|
2022-10-21 17:42:31 +08:00
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return Type.GetTypeName();
|
|
|
|
|
}
|
2022-09-22 08:56:07 +08:00
|
|
|
|
}
|
|
|
|
|
}
|