UnixMemoryAllocator.cs 375 B

1234567891011121314151617181920
  1. using System;
  2. namespace BepInEx.IL2CPP
  3. {
  4. /// <summary>
  5. /// Based on https://github.com/kubo/funchook
  6. /// </summary>
  7. internal class UnixMemoryAllocator : MemoryAllocator
  8. {
  9. public override IntPtr Allocate(IntPtr func)
  10. {
  11. throw new NotImplementedException();
  12. }
  13. public override void Free(IntPtr buffer)
  14. {
  15. throw new NotImplementedException();
  16. }
  17. }
  18. }