Cosmos/source/Kernel-X86/00-CPU/Cosmos.CPU/GcHook.cs
2017-07-30 13:41:12 -04:00

33 lines
907 B
C#

using System;
using System.Diagnostics;
using Cosmos.IL2CPU.API;
namespace Cosmos.CPU {
[DebuggerStepThrough]
public static class GCImplementation {
private static void AcquireLock() {
}
private static void ReleaseLock() {
}
[PlugMethod(PlugRequired = true)]
public static uint AllocNewObject(uint aSize) {
return 0;
}
/// <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) {
}
/// <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) {
}
}
}