Exemple #1
0
func SetAppName(name string) {
	ns := C.CString(name)
	defer C.free(unsafe.Pointer(ns))

	C.al_set_app_name(ns)

}
Exemple #2
0
// Sets the name of the app.
func SetAppName(name string) {
	C.al_set_app_name(cstr(name))
}
Exemple #3
0
func SetAppName(appName string) {
	a := C.CString(appName)
	defer C.free(unsafe.Pointer(a))
	C.al_set_app_name(a)
}