Beispiel #1
0
 public static void AcceptDelegation(Allocation * /*EndpointCore* opt(ExHeap)!*/ imp,
                                     Allocation * /*EndpointCore* opt(ExHeap)!*/ exp,
                                     Allocation * /*EndpointCore* opt(ExHeap)!*/ ep)
 {
     EndpointCoreImplementation.AcceptDelegation((SharedHeap.Allocation *)imp,
                                                 (SharedHeap.Allocation *)exp,
                                                 (SharedHeap.Allocation *)ep);
 }
Beispiel #2
0
 public static void Connect(
     Allocation * /*EndpointCore* opt(ExHeap)!*/ imp,
     Allocation * /*EndpointCore* opt(ExHeap)!*/ exp,
     Allocation * /*EndpointCore* opt(ExHeap) */ ep)
 {
     EndpointCoreImplementation.Connect((SharedHeap.Allocation *)imp,
                                        (SharedHeap.Allocation *)exp,
                                        (SharedHeap.Allocation *)ep);
 }
Beispiel #3
0
        public static void TransferBlockOwnership(Allocation *ptr, ref EndpointCore target)
        {
            fixed(EndpointCore *ep = &target)
            {
                EndpointCoreImplementation *epimp = (EndpointCoreImplementation *)ep;

                EndpointCoreImplementation.TransferBlockOwnership((SharedHeap.Allocation *)ptr, ref *epimp);
            }
        }
Beispiel #4
0
        public static void TransferContentOwnership(
            ref EndpointCore transferee,
            ref EndpointCore target)
        {
            fixed(EndpointCore *ep1 = &transferee, ep2 = &target)
            {
                EndpointCoreImplementation *epimp1 = (EndpointCoreImplementation *)ep1;
                EndpointCoreImplementation *epimp2 = (EndpointCoreImplementation *)ep2;

                EndpointCoreImplementation.TransferContentOwnership(ref *epimp1, ref *epimp2);
            }
        }
Beispiel #5
0
 public static void Free(Allocation * /* EndpointCore* opt(ExHeap) */ endpoint)
 {
     EndpointCoreImplementation.Free((SharedHeap.Allocation *)endpoint);
 }