func LoadConfig(filename string) *Config { cs := C.CString(filename) defer C.free(unsafe.Pointer(cs)) var c *Config c = (*Config)(C.al_load_config_file(cs)) return c }
func LoadConfigFile(filename string) *Config { f := C.CString(filename) defer C.free(unsafe.Pointer(f)) return (*Config)(unsafe.Pointer(C.al_load_config_file(f))) }