func (v *SourceLanguage) GetStyleName(styleId string) string { cstyleId := C.CString(styleId) defer cfree(cstyleId) return gostring(C.gtk_source_language_get_metadata(v.GSourceLanguage, gstring(cstyleId))) }
func (v *GtkSourceLanguage) GetStyleName(styleId string) string { cstyleId := C.CString(styleId) defer C.free_string(cstyleId) return C.GoString(C.to_charptr(C.gtk_source_language_get_metadata(v.SourceLanguage, C.to_gcharptr(cstyleId)))) }
func (v *SourceLanguage) GetMetadata(name string) string { cname := C.CString(name) defer cfree(cname) return gostring(C.gtk_source_language_get_metadata(v.GSourceLanguage, gstring(cname))) }
func (v *GtkSourceLanguage) GetMetadata(name string) string { cname := C.CString(name) defer C.free_string(cname) return C.GoString(C.to_charptr(C.gtk_source_language_get_metadata(v.SourceLanguage, C.to_gcharptr(cname)))) }