Cosmos/source/Kernel/Cosmos.CPU/GcHook.cs
José Pedro fff6d5b3b3 g3
2017-07-28 00:27:27 +01:00

38 lines
1.1 KiB
C#

using System;
using System.Diagnostics;
using Cosmos.IL2CPU.API;
namespace Cosmos.CPU {
[DebuggerStepThrough]
public static class GCImplementation {
private static void AcquireLock() {
throw new NotImplementedException();
}
private static void ReleaseLock() {
throw new NotImplementedException();
}
[PlugMethod(PlugRequired = true)]
public static uint AllocNewObject(uint aSize) {
throw new NotImplementedException();
}
/// <summary>
/// This function gets the pointer to the memory location of where it's stored.
/// </summary>
/// <param name="aObject"></param>
public static unsafe void IncRefCount(uint aObject) {
throw new NotImplementedException();
}
/// <summary>
/// This function gets the pointer to the memory location of where it's stored.
/// </summary>
/// <param name="aObject"></param>
public static unsafe void DecRefCount(uint aObject) {
throw new NotImplementedException();
}
}
}