mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
28 lines
733 B
C#
28 lines
733 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.IL2CPU.API
|
|
{
|
|
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
|
|
public sealed class InlineAttribute : Attribute
|
|
{
|
|
/// <summary>
|
|
/// This field currently does nothing, but is here for later use.
|
|
/// </summary>
|
|
public TargetPlatform TargetPlatform = TargetPlatform.x86;
|
|
}
|
|
|
|
/// <summary>
|
|
/// This enum contains the possible target platforms,
|
|
/// to eventually allow for selective inclusion of plugs,
|
|
/// depending on the target platform.
|
|
/// </summary>
|
|
public enum TargetPlatform
|
|
{
|
|
x86,
|
|
x64,
|
|
IA64,
|
|
ARM
|
|
}
|
|
}
|