Skip to content

Commit c6602fa

Browse files
committed
Readying.
1 parent fa452b0 commit c6602fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ksp_plugin_adapter/loader.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,17 +222,17 @@ internal static T LoadFunction<T>(string function) where T : Delegate {
222222
return result;
223223
}
224224

225-
[DllImport("kernel32", SetLastError = true, CharSet = CharSet.Ansi)]
226-
private static extern IntPtr LoadLibrary(
227-
[MarshalAs(UnmanagedType.LPStr)] string lpFileName);
228-
229225
[DllImport("kernel32", SetLastError = true, CharSet = CharSet.Ansi)]
230226
private static extern bool FreeLibrary(IntPtr hLibModule);
231227

232228
[DllImport("kernel32", SetLastError = true, CharSet = CharSet.Ansi)]
233229
private static extern IntPtr GetProcAddress(
234230
IntPtr hModule, [MarshalAs(UnmanagedType.LPStr)] string lpProcName);
235231

232+
[DllImport("kernel32", SetLastError = true, CharSet = CharSet.Ansi)]
233+
private static extern IntPtr LoadLibrary(
234+
[MarshalAs(UnmanagedType.LPStr)] string lpFileName);
235+
236236
[DllImport("dl")]
237237
private static extern int dlclose(IntPtr handle);
238238

0 commit comments

Comments
 (0)