func init() { s := new(C.struct_aiString) C.aiGetExtensionList(s) exts := goString(s) for _, ext := range strings.Split(exts, ";") { Extensions[ext] = true } }
func GetExtensionList() string { var str C.struct_aiString C.aiGetExtensionList(&str) return C.GoString(&str.data[0]) }