Browse Source

Add better doc for memory allocator

ghorsington 4 years ago
parent
commit
35f582905a
1 changed files with 3 additions and 2 deletions
  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>