Example #1
0
func (field *Field) Index() int {
	return (int)(C.field_index((*C.FIELD)(field)))
}
Example #2
0
func (f *Field) Index() int {
	return int(C.field_index(f.field))
}