瀏覽代碼

Add better doc for memory allocator

ghorsington 4 年之前
父節點
當前提交
35f582905a
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      BepInEx.IL2CPP/Hook/Buffer/MemoryAllocator.cs

+ 3 - 2
BepInEx.IL2CPP/Hook/Buffer/MemoryAllocator.cs

@@ -5,9 +5,10 @@ using MonoMod.Utils;
 namespace BepInEx.IL2CPP
 {
 	/// <summary>
-	/// 
-	///     Based on https://github.com/kubo/funchook
+	///     A general purpose memory allocator for patching purposes.
+	///     Allows to allocate memory within the 2GB radius of a given address.
 	/// </summary>
+	/// <remarks>Based on https://github.com/kubo/funchook</remarks>
 	internal abstract class MemoryAllocator
 	{
 		/// <summary>