diff --git a/src/bindings/mono/eo_mono/NativeModule.cs b/src/bindings/mono/eo_mono/NativeModule.cs
index ad9cc60214..932b453def 100644
--- a/src/bindings/mono/eo_mono/NativeModule.cs
+++ b/src/bindings/mono/eo_mono/NativeModule.cs
@@ -19,14 +19,14 @@ namespace Efl.Eo
{
///Wraps a native module that was opened with dlopen/LoadLibrary.
-public partial class NativeModule : IDisposable
+internal partial class NativeModule : IDisposable
{
private Lazy module;
private bool disposed = false;
///Lazily tries to load the module with the given name.
///The name of the module to load.
- public NativeModule(string libName)
+ internal NativeModule(string libName)
{
module = new Lazy
(() =>
@@ -36,7 +36,7 @@ public partial class NativeModule : IDisposable
}
///The module that was loaded.
- public IntPtr Module
+ internal IntPtr Module
{
get
{
diff --git a/src/bindings/mono/eo_mono/NativeModule_Unix.cs b/src/bindings/mono/eo_mono/NativeModule_Unix.cs
index 1e5a517368..67409e02d1 100644
--- a/src/bindings/mono/eo_mono/NativeModule_Unix.cs
+++ b/src/bindings/mono/eo_mono/NativeModule_Unix.cs
@@ -19,7 +19,7 @@ using System.Runtime.InteropServices;
namespace Efl.Eo
{
-public partial class NativeModule
+internal partial class NativeModule
{
private const int RTLD_NOW = 0x002;
// Currently we are using GLOBAL due to issues
@@ -33,7 +33,7 @@ public partial class NativeModule
///Closes the library handle.
///The handle to the library.
- public static void UnloadLibrary(IntPtr handle)
+ internal static void UnloadLibrary(IntPtr handle)
{
dlclose(handle);
}
@@ -60,7 +60,7 @@ public partial class NativeModule
///
///The name to search for.
///The loaded library handle or on failure.
- public static IntPtr LoadLibrary(string filename)
+ internal static IntPtr LoadLibrary(string filename)
{
Eina.Log.Debug($"Loading library {filename}");
var r = dlopen(filename, RTLD_NOW | RTLD_GLOBAL);
diff --git a/src/bindings/mono/eo_mono/NativeModule_Windows.cs b/src/bindings/mono/eo_mono/NativeModule_Windows.cs
index bbd3c7f49e..513eb723e1 100644
--- a/src/bindings/mono/eo_mono/NativeModule_Windows.cs
+++ b/src/bindings/mono/eo_mono/NativeModule_Windows.cs
@@ -19,10 +19,10 @@ using System.Runtime.InteropServices;
namespace Efl.Eo
{
-public class partial NativeModule
+internal class partial NativeModule
{
[DllImport(efl.Libs.Kernel32, CharSet = CharSet.Unicode, SetLastError = true)]
- public static extern IntPtr LoadLibrary(string libFilename);
+ internal static extern IntPtr LoadLibrary(string libFilename);
}
}