3 static PyObject* py_test(PyObject* self, PyObject* args)
10 if (!PyArg_ParseTuple(args, "(ii)s#", &x, &y, &image, &size)) return NULL;
13 for (i=0; i < size; i++) {
17 return Py_BuildValue("s#", image, size);
19 static PyMethodDef myModule_methods[] = {
20 {"test", py_test, METH_VARARGS},
26 (void) Py_InitModule("pcf", myModule_methods);