Пример #1
0
func SetExeName(name string) {
	ns := C.CString(name)
	defer C.free(unsafe.Pointer(ns))

	C.al_set_exe_name(ns)

}
Пример #2
0
Файл: al.go Проект: beoran/algo
// Sets the name of the executable.
func SetExeName(name string) {
	C.al_set_exe_name(cstr(name))
}
Пример #3
0
func SetExeName(path string) {
	p := C.CString(path)
	defer C.free(unsafe.Pointer(p))
	C.al_set_exe_name(p)
}