Пример #1
0
func (m *Config) Merge(child *Config) {
	m_ptr := (*C.ALLEGRO_CONFIG)(m)
	c_ptr := (*C.ALLEGRO_CONFIG)(child)

	C.al_merge_config_into(m_ptr, c_ptr)

}
Пример #2
0
func (c *Config) MergeInto(add *Config) {
	C.al_merge_config_into((*C.ALLEGRO_CONFIG)(unsafe.Pointer(c)), (*C.ALLEGRO_CONFIG)(unsafe.Pointer(add)))
}