diff --git a/SharpPhysFS/PhysFS.LowLevel.cs b/SharpPhysFS/PhysFS.LowLevel.cs index 2c847db..dbf199f 100644 --- a/SharpPhysFS/PhysFS.LowLevel.cs +++ b/SharpPhysFS/PhysFS.LowLevel.cs @@ -4,7 +4,7 @@ namespace SharpPhysFS { public partial class PhysFS { - public static class LowLevel + internal static class LowLevel { public static IntPtr OpenWrite(string filename, PhysFS physFS) { diff --git a/SharpPhysFS/PhysFS.cs b/SharpPhysFS/PhysFS.cs index a9c5e72..5ce21cd 100644 --- a/SharpPhysFS/PhysFS.cs +++ b/SharpPhysFS/PhysFS.cs @@ -604,9 +604,8 @@ namespace SharpPhysFS c(obj, s); }; } - - [Obsolete("The non-generic variant of GetCdRomDirsCallback is meant for internal use only. Consider using one of the generic alternatives.")] - public void GetCdRomDirsCallback(StringCallback c, object data) + + void GetCdRomDirsCallback(StringCallback c, object data) { GCHandle objHandle = GCHandle.Alloc(data); interop.PHYSFS_getCdRomDirsCallback(c, GCHandle.ToIntPtr(objHandle)); @@ -636,9 +635,8 @@ namespace SharpPhysFS { interop.PHYSFS_getCdRomDirsCallback((p, s) => c(s), IntPtr.Zero); } - - [Obsolete("The non-generic variant of GetSearchPathCallback is meant for internal use only. Consider using one of the generic alternatives.")] - public void GetSearchPathCallback(StringCallback c, object data) + + void GetSearchPathCallback(StringCallback c, object data) { GCHandle objHandle = GCHandle.Alloc(data); interop.PHYSFS_getSearchPathCallback(c, GCHandle.ToIntPtr(objHandle)); @@ -669,8 +667,7 @@ namespace SharpPhysFS interop.PHYSFS_getSearchPathCallback((p, s) => c(s), IntPtr.Zero); } - [Obsolete("The non-generic variant of EnumerateFilesCallback is meant for internal use only. Consider using one of the generic alternatives.")] - public void EnumerateFilesCallback(string dir, EnumFilesCallback c, object data) + void EnumerateFilesCallback(string dir, EnumFilesCallback c, object data) { GCHandle objHandle = GCHandle.Alloc(data); interop.PHYSFS_enumerateFilesCallback(dir, c, GCHandle.ToIntPtr(objHandle));