mirror of
https://github.com/make-42/xyosc
synced 2025-01-19 11:07:35 +01:00
18 lines
400 B
Go
18 lines
400 B
Go
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-FileCopyrightText: 2023 The Ebitengine Authors
|
|
|
|
//go:build darwin || freebsd || linux
|
|
|
|
package purego
|
|
|
|
// Dlerror represents an error value returned from Dlopen, Dlsym, or Dlclose.
|
|
//
|
|
// This type is not available on Windows as there is no counterpart to it on Windows.
|
|
type Dlerror struct {
|
|
s string
|
|
}
|
|
|
|
func (e Dlerror) Error() string {
|
|
return e.s
|
|
}
|