Skip to content

Commit 5ad9415

Browse files
hajimehoshiTotallyGamerJet
authored andcommitted
purego: mention LoadLibraryEx at Dlopen (ebitengine#275)
Updates ebitengine#273
1 parent 128551e commit 5ad9415

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dlfcn.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ func init() {
3535
// Dlopen calls should be balanced with a Dlclose call.
3636
//
3737
// This function is not available on Windows.
38-
// Use [golang.org/x/sys/windows.LoadLibrary], [golang.org/x/sys/windows.NewLazyDLL], or
39-
// [golang.org/x/sys/windows.NewLazySystemDLL] for Windows instead.
38+
// Use [golang.org/x/sys/windows.LoadLibrary], [golang.org/x/sys/windows.LoadLibraryEx],
39+
// [golang.org/x/sys/windows.NewLazyDLL], or [golang.org/x/sys/windows.NewLazySystemDLL] for Windows instead.
4040
func Dlopen(path string, mode int) (uintptr, error) {
4141
u := fnDlopen(path, mode)
4242
if u == 0 {

0 commit comments

Comments
 (0)