Skip to content

Commit

Permalink
purego: mention LoadLibraryEx at Dlopen (ebitengine#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi authored and TotallyGamerJet committed Oct 14, 2024
1 parent 128551e commit 5ad9415
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 5ad9415

Please sign in to comment.