kopia lustrzana https://github.com/craigerl/digipi
19 wiersze
446 B
Plaintext
19 wiersze
446 B
Plaintext
// Code generated by cmd/cgo; DO NOT EDIT.
|
|
|
|
//line /home/pi/go/src/github.com/mesilliac/pulse-simple/error.go:1:1
|
|
package pulse
|
|
|
|
import "errors"
|
|
|
|
/*
|
|
#cgo pkg-config: libpulse-simple
|
|
|
|
#include <pulse/error.h>
|
|
*/
|
|
import _ "unsafe"
|
|
|
|
func errorFromCode(e /*line :12:22*/_Ctype_int /*line :12:27*/) error {
|
|
cstr := ( /*line :13:10*/_Cfunc_pa_strerror /*line :13:22*/)(e)
|
|
return errors.New(( /*line :14:20*/_Cfunc_GoString /*line :14:29*/)(cstr))
|
|
}
|