Cosmos/source/Kernel-X86/10-CPU/Cosmos.CPU.x86/GcHook.cs
2017-12-10 15:57:12 +00:00

33 lines
909 B
C#

using System;
using System.Diagnostics;
using IL2CPU.API.Attribs;
namespace Cosmos.CPU.x86 {
[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) {
}
}
}