Exemple #1
0
func GPtrToString(p interface{}) string {
	return C.GoString(C.to_charptr_from_gpointer(p.(C.gpointer)))
}
Exemple #2
0
func GPtrToString(p interface{}) string {
	pp := (C.gpointer)(p.(unsafe.Pointer))
	return C.GoString(C.to_charptr_from_gpointer(pp))
}