Example #1
0
func (field *Field) SetOpts(attr FieldOptions) bool {
	return isOk(C.set_field_opts((*C.FIELD)(field), (C.Field_Options)(attr)))
}
Example #2
0
func (f *Field) SetOpts(attr FieldOptions) error {
	return geterror(C.set_field_opts(f.field, attr.fieldOptions))
}