Пример #1
0
static PyObject *integration_type_get(BPy_UnaryFunction1DVoid *self, void *UNUSED(closure))
{
    return BPy_IntegrationType_from_IntegrationType(self->uf1D_void->getIntegrationType());
}
static PyObject *integration_type_get(BPy_UnaryFunction1DVectorViewShape *self,
                                      void *UNUSED(closure))
{
  return BPy_IntegrationType_from_IntegrationType(
      self->uf1D_vectorviewshape->getIntegrationType());
}