-- 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 type MSSyst.IntPtr.Valuetype is tagged;
package MSSyst.Runtime.InteropServices.ICustomMarshaler is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ (Self : access MSSyst.Object.Typ'Class)
      is abstract new MSSyst.Object.Typ with null record;
   pragma MSIL_Interface(Typ);
   procedure CleanUpManagedData(
      This : access Typ;
      ManagedObj : MSSyst.Object.Ref);
   procedure CleanUpNativeData(
      This : access Typ;
      pNativeData : MSSyst.IntPtr.Valuetype);
   function GetNativeDataSize(
      This : access Typ) return Integer;
   function MarshalManagedToNative(
      This : access Typ;
      ManagedObj : MSSyst.Object.Ref) return MSSyst.IntPtr.Valuetype;
   function MarshalNativeToManaged(
      This : access Typ;
      pNativeData : MSSyst.IntPtr.Valuetype) return MSSyst.Object.Ref;
private
   pragma Import(MSIL,CleanUpManagedData,"CleanUpManagedData");
   pragma Import(MSIL,CleanUpNativeData,"CleanUpNativeData");
   pragma Import(MSIL,GetNativeDataSize,"GetNativeDataSize");
   pragma Import(MSIL,MarshalManagedToNative,"MarshalManagedToNative");
   pragma Import(MSIL,MarshalNativeToManaged,"MarshalNativeToManaged");
end MSSyst.Runtime.InteropServices.ICustomMarshaler;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Runtime.InteropServices.ICustomMarshaler,
   ".ver 1.0.5000.0 .publickeytoken=( 96 9d b8 05 3d 33 22 ac )",
   "[mscorlib]System.Runtime.InteropServices.ICustomMarshaler");
