func (w *Window) SetSize(width, height uint) error { aferr := C.af_set_size(w.window, C.uint(width), C.uint(height)) if aferr != 0 { return ErrSetSize } return nil }
func (w *Window) SetSize(width, height uint) error { return af_call(C.af_set_size(w.window, C.uint(width), C.uint(height))) }