[pypy-svn] r74117 - pypy/branch/cpython-extension/pypy/module/cpyext/test

exarkun at codespeak.net exarkun at codespeak.net
Tue Apr 27 18:29:29 CEST 2010


Author: exarkun
Date: Tue Apr 27 18:29:28 2010
New Revision: 74117

Added:
   pypy/branch/cpython-extension/pypy/module/cpyext/test/dotted.c
Log:
Add the necessary module source for test_InitModule4Dotted as well

Added: pypy/branch/cpython-extension/pypy/module/cpyext/test/dotted.c
==============================================================================
--- (empty file)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/test/dotted.c	Tue Apr 27 18:29:28 2010
@@ -0,0 +1,10 @@
+#include "Python.h"
+
+static PyMethodDef dotted_functions[] = {
+    {NULL, NULL}
+};
+
+void initdotted(void)
+{
+    Py_InitModule("pypy.module.cpyext.test.dotted", dotted_functions);
+}



More information about the Pypy-commit mailing list