Beispiel #1
0
func GetStandardPath(path int) Path {
	var pth *C.ALLEGRO_PATH

	pth = C.al_get_standard_path(C.int(path))

	return toPth(pth)
}
Beispiel #2
0
Datei: al.go Projekt: beoran/algo
// Gets a standard path location.
func GetStandardPath(id int) *Path {
	return wrapPath(C.al_get_standard_path(C.int(id)))
}
Beispiel #3
0
func GetStandardPath(id int32) *Path {
	return (*Path)(unsafe.Pointer(C.al_get_standard_path(C.int(id))))
}