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

	C.al_set_exe_name(ns)

}
Example #2
0
File: al.go Project: beoran/algo
// Sets the name of the executable.
func SetExeName(name string) {
	C.al_set_exe_name(cstr(name))
}
Example #3
0
func SetExeName(path string) {
	p := C.CString(path)
	defer C.free(unsafe.Pointer(p))
	C.al_set_exe_name(p)
}