Documentation
¶
Index ¶
Constants ¶
const Supported = true
Whether this build can load shared libraries
Variables ¶
This section is empty.
Functions ¶
func AddDLLDirectory ¶
The DLL search path exists only on Windows, elsewhere nothing is added and the close does nothing
func FindLibrary ¶
Library name or path the platform loader resolves for a bare name, empty when none is installed
func RegisterFunc ¶
Binds a Go function variable to a C function address
Types ¶
type AttributeError ¶
type AttributeError struct{ Msg string }
The error ctypes raises when a loaded library lacks a symbol
func (*AttributeError) Error ¶
func (e *AttributeError) Error() string
type CDLL ¶
type CDLL struct {
Name string
// contains filtered or unexported fields
}
One loaded shared library
func LoadLibrary ¶
Loads a shared library the way ctypes CDLL does, RTLD_NOW with local or global symbol scope