Skip to content

Commit

Permalink
purego: mention LoadLibraryEx at Dlopen (#275)
Browse files Browse the repository at this point in the history
Updates #273
  • Loading branch information
hajimehoshi authored Aug 25, 2024
1 parent 2d5afc8 commit 552a4de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dlfcn.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ func init() {
// Dlopen calls should be balanced with a Dlclose call.
//
// This function is not available on Windows.
// Use [golang.org/x/sys/windows.LoadLibrary], [golang.org/x/sys/windows.NewLazyDLL], or
// [golang.org/x/sys/windows.NewLazySystemDLL] for Windows instead.
// Use [golang.org/x/sys/windows.LoadLibrary], [golang.org/x/sys/windows.LoadLibraryEx],
// [golang.org/x/sys/windows.NewLazyDLL], or [golang.org/x/sys/windows.NewLazySystemDLL] for Windows instead.
func Dlopen(path string, mode int) (uintptr, error) {
u := fnDlopen(path, mode)
if u == 0 {
Expand Down

0 comments on commit 552a4de

Please sign in to comment.