static DeepinLunarObject *m_new(PyObject *dummy, PyObject *args) { DeepinLunarObject *self = NULL; self = m_init_deepin_lunar_object(); if (!self) return NULL; self->handle = lunar_calendar_new(); return self; }
static PyObject *m_new(PyObject *dummy, PyObject *args) { DeepinLunarObject *self = NULL; self = m_init_deepin_lunar_object(); if (!self) return NULL; self->handle = lunar_calendar_new(); return pygobject_new(G_OBJECT(self->handle)); }