Merge in sogo branch changes r3949-3962
[jelmer/openchange.git] / pyopenchange / mapistore / table.c
index e2a158211f1853a6e48c3badff0a92e2d2607ac9..5c3fd47828fe01208b8375700ca1125ccb63977e 100644 (file)
@@ -46,3 +46,11 @@ PyTypeObject PyMAPIStoreTable = {
        .tp_dealloc = (destructor)py_MAPIStoreTable_dealloc,
        .tp_flags = Py_TPFLAGS_DEFAULT,
 };
+
+void initmapistore_table(PyObject *m)
+{
+       if (PyType_Ready(&PyMAPIStoreTable) < 0) {
+               return;
+       }
+       Py_INCREF(&PyMAPIStoreTable);
+}