zlgopen / awtk-go

awtk-go binding
16 stars 0 forks source link

awtk/awtk.go:2983:78: cannot use _Ctype__Bool(spacing) (type _Ctype__Bool) as type _Ctype_int in assignment #1

Closed Leadrive closed 3 years ago

Leadrive commented 3 years ago

awtk.go Line 2983

func (this TListViewH) SetSpacing(spacing bool) TRet {
  return TRet(C.list_view_h_set_spacing((*C.widget_t)(this.handle), (C.bool_t)(spacing)));
}

awtk/awtk.go:2983:78: cannot use _Ctype__Bool(spacing) (type _Ctype__Bool) as type _Ctype_int in assignment

xianjimli commented 3 years ago

改了,谢谢。麻烦更新一下。