-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.Object.Ref is access;
with MSSyst.Runtime.InteropServices.GCHandleType;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.ValueType;
package MSSyst.Runtime.InteropServices.GCHandle is
   type ValueType is new MSSyst.ValueType.Typ with null record;
   type ValueType_Arr is array (Natural range <>) of ValueType; -- start at 0
   type ValueType_Array is access all ValueType_Arr;
   type ValueType_addrof is access all ValueType;
   type ValueType_array_addrof is access all ValueType_Array;
   function AddrOfPinnedObject(
      This : Valuetype) return MSIL_Types.native_int;
   function Alloc(
      value : MSSyst.Object.Ref) return MSSyst.Runtime.InteropServices.GCHandle.Valuetype;
   function Alloc(
      value : MSSyst.Object.Ref;
      type_k : MSSyst.Runtime.InteropServices.GCHandleType.Valuetype) return MSSyst.Runtime.InteropServices.GCHandle.Valuetype;
   procedure Free(
      This : Valuetype);
   function get_IsAllocated(
      This : Valuetype) return Standard.Boolean;
   function get_Target(
      This : Valuetype) return MSSyst.Object.Ref;
   function op_Explicit(
      value : MSSyst.Runtime.InteropServices.GCHandle.Valuetype) return MSIL_Types.native_int;
   function op_Explicit(
      value : MSIL_Types.native_int) return MSSyst.Runtime.InteropServices.GCHandle.Valuetype;
   procedure set_Target(
      This : Valuetype;
      value : MSSyst.Object.Ref);
private
   pragma Import(MSIL,AddrOfPinnedObject,"AddrOfPinnedObject");
   pragma Import(MSIL,Alloc,"Alloc");
   pragma Import(MSIL,Free,"Free");
   pragma Import(MSIL,get_IsAllocated,"get_IsAllocated");
   pragma Import(MSIL,get_Target,"get_Target");
   pragma Import(MSIL,op_Explicit,"op_Explicit");
   pragma Import(MSIL,set_Target,"set_Target");
end MSSyst.Runtime.InteropServices.GCHandle;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Runtime.InteropServices.GCHandle,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.Runtime.InteropServices.GCHandle");
