Make AugSettings fields public

This commit is contained in:
code liturgy 2022-12-04 23:07:02 +00:00
parent dfba89a82f
commit f5c1368b8f
1 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,8 @@ namespace Sharp.Augeas
[StructLayout(LayoutKind.Sequential)]
public unsafe partial struct AugSettings {
[MarshalAs(UnmanagedType.LPStr)] internal string root;
[MarshalAs(UnmanagedType.LPStr)] internal string loadPath;
[MarshalAs(UnmanagedType.LPStr)] public string root;
[MarshalAs(UnmanagedType.LPStr)] public string loadPath;
public AugSettings(string _root, string _loadPath )
{
@ -19,7 +19,7 @@ namespace Sharp.Augeas
root = "NIL";
loadPath = "NIL";
}
};
}
}