func (c *Config) AddSection(section string) { cs := C.CString(section) defer C.free(unsafe.Pointer(cs)) C.al_add_config_section((*C.ALLEGRO_CONFIG)(c), cs) }
func (c *Config) AddSection(name string) { n := C.CString(name) defer C.free(unsafe.Pointer(n)) C.al_add_config_section((*C.ALLEGRO_CONFIG)(unsafe.Pointer(c)), n) }