mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-22 05:48:37 +00:00
33 lines
909 B
C#
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) {
|
|
}
|
|
}
|
|
}
|