equal
deleted
inserted
replaced
1526 {"pathencode", pathencode, METH_VARARGS, "fncache-encode a path\n"}, |
1526 {"pathencode", pathencode, METH_VARARGS, "fncache-encode a path\n"}, |
1527 {"lowerencode", lowerencode, METH_VARARGS, "lower-encode a path\n"}, |
1527 {"lowerencode", lowerencode, METH_VARARGS, "lower-encode a path\n"}, |
1528 {NULL, NULL} |
1528 {NULL, NULL} |
1529 }; |
1529 }; |
1530 |
1530 |
|
1531 void dirs_module_init(PyObject *mod); |
|
1532 |
1531 static void module_init(PyObject *mod) |
1533 static void module_init(PyObject *mod) |
1532 { |
1534 { |
|
1535 dirs_module_init(mod); |
|
1536 |
1533 indexType.tp_new = PyType_GenericNew; |
1537 indexType.tp_new = PyType_GenericNew; |
1534 if (PyType_Ready(&indexType) < 0) |
1538 if (PyType_Ready(&indexType) < 0) |
1535 return; |
1539 return; |
1536 Py_INCREF(&indexType); |
1540 Py_INCREF(&indexType); |
1537 |
1541 |