Commit c46a01f1 authored by Hanno Schlichting's avatar Hanno Schlichting

Correct initialization functions in renamed `_timestamp` extension.

parent 69b100f6
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
4.0.2 (unreleased) 4.0.2 (unreleased)
------------------ ------------------
- TBD - Correct initialization functions in renamed `_timestamp` extension.
4.0.1 (2012-08-26) 4.0.1 (2012-08-26)
......
...@@ -420,14 +420,14 @@ static PyMethodDef TimeStampModule_functions[] = { ...@@ -420,14 +420,14 @@ static PyMethodDef TimeStampModule_functions[] = {
void void
initTimeStamp(void) init_timestamp(void)
{ {
PyObject *m; PyObject *m;
if (TimeStamp_init_gmoff() < 0) if (TimeStamp_init_gmoff() < 0)
return; return;
m = Py_InitModule4("TimeStamp", TimeStampModule_functions, m = Py_InitModule4("_timestamp", TimeStampModule_functions,
TimeStampModule_doc, NULL, PYTHON_API_VERSION); TimeStampModule_doc, NULL, PYTHON_API_VERSION);
if (m == NULL) if (m == NULL)
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment