Example #1
0
// 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()))
}
Example #2
0
func GetPrgName() string {
	return C.GoString(C.to_charptr(C.g_get_prgname()))
}