func (v *SourceLanguage) GetStyleIds() []string { var ids []string cids := C.gtk_source_language_get_globs(v.GSourceLanguage) for { ids = append(ids, gostring(*cids)) cids = C.nextGstr(cids) if *cids == nil { break } } return ids }
func (v *GtkSourceLanguage) GetStyleIds() []string { var ids []string cids := C.gtk_source_language_get_globs(v.SourceLanguage) for { ids = append(ids, C.GoString(C.to_charptr(*cids))) cids = C.next_gcharptr(cids) if *cids == nil { break } } return ids }
func (v *SourceLanguage) GetGlobs() []string { var globs []string cglobs := C.gtk_source_language_get_globs(v.GSourceLanguage) for { globs = append(globs, gostring(*cglobs)) cglobs = C.nextGstr(cglobs) if *cglobs == nil { break } } return globs }
func (v *GtkSourceLanguage) GetGlobs() []string { var globs []string cglobs := C.gtk_source_language_get_globs(v.SourceLanguage) for { globs = append(globs, C.GoString(C.to_charptr(*cglobs))) cglobs = C.next_gcharptr(cglobs) if *cglobs == nil { break } } return globs }