[src] Remove System.nint and System.nuint from .NET
This commit is contained in:
Родитель
39ab97113c
Коммит
30857e1cdc
|
@ -31,6 +31,12 @@
|
|||
<#@ template language="C#v3.5" #>
|
||||
<#@ import namespace="System" #>
|
||||
<#@ import namespace="System.Collections.Generic" #>
|
||||
|
||||
#if NET
|
||||
#define SKIP_nint
|
||||
#define SKIP_nuint
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
|
@ -66,6 +72,7 @@ namespace ObjCRuntime
|
|||
namespace System
|
||||
#endif
|
||||
{
|
||||
#if !SKIP_<#= type.NSName #>
|
||||
[Serializable]
|
||||
[DebuggerDisplay ("{v,nq}")]
|
||||
public unsafe struct <#= type.NSName #> : IFormattable, IConvertible, IComparable, IComparable<<#= type.NSName #>>, IEquatable <<#= type.NSName #>>
|
||||
|
@ -439,5 +446,6 @@ namespace System
|
|||
Marshal.WriteIntPtr (destination, i * <#= type.NSName #>.Size, (IntPtr)source [i + startIndex]);
|
||||
}
|
||||
}
|
||||
#endif // !SKIP_<#= type.NSName #>
|
||||
}
|
||||
<# } #>
|
||||
|
|
Загрузка…
Ссылка в новой задаче