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

	C.al_set_app_name(ns)

}
示例#2
0
文件: al.go 项目: beoran/algo
// Sets the name of the app.
func SetAppName(name string) {
	C.al_set_app_name(cstr(name))
}
示例#3
0
func SetAppName(appName string) {
	a := C.CString(appName)
	defer C.free(unsafe.Pointer(a))
	C.al_set_app_name(a)
}