'Initializes on the pointers for the feature and the layer definition.'

def __init__(self, feat, fdefn):

    if ((not feat) or (not fdefn)):
        raise OGRException('Cannot    create    OGR    Feature,    invalid    pointer    given.')
    self.ptr = feat
    self._fdefn = fdefn
