コード例 #1
0
ファイル: system.go プロジェクト: bluepeppers/allegro
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
ファイル: system.go プロジェクト: b1naryth1ef/allegro
func GetStandardPath(id int32) *Path {
	return (*Path)(unsafe.Pointer(C.al_get_standard_path(C.int(id))))
}