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

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

	return toPth(pth)
}
示例#2
0
文件: al.go 项目: beoran/algo
// Gets a standard path location.
func GetStandardPath(id int) *Path {
	return wrapPath(C.al_get_standard_path(C.int(id)))
}
示例#3
0
func GetStandardPath(id int32) *Path {
	return (*Path)(unsafe.Pointer(C.al_get_standard_path(C.int(id))))
}