コード例 #1
0
ファイル: glib.go プロジェクト: visionect/gotk3
// GetPrgName is a wrapper around g_get_prgname ()
// Gets the name of the program.
func GetPrgName() string {
	return C.GoString((*C.char)(C.g_get_prgname()))
}
コード例 #2
0
ファイル: glib.go プロジェクト: stnmrshx/mokuton-gtk
func GetPrgName() string {
	return C.GoString(C.to_charptr(C.g_get_prgname()))
}