#include
PyObject*
wrap_testFor(PyObject* self,PyObject* args)
{
testFor();
Py_INCREF(Py_None);
return Py_None;
}
PyObject*
wrap_testAdd(PyObject* self,PyObject* args)
{
testAdd();
Py_INCREF(Py_None);
return Py_None;
}
PyObject*
wrap_testSubtract(PyObject* self,PyObject* args)
{
testSubtract();
Py_INCREF(Py_None);
return Py_None;
}
PyObject*
wrap_testMultiply(PyObject* self,PyObject* args)
{
testMultiply();
Py_INCREF(Py_None);
return Py_None;
}
PyObject*
wrap_testDivide(PyObject* self,PyObject* args)
{
testDivide();
Py_INCREF(Py_None);
return Py_None;
}
PyObject*
wrap_testDivide2(PyObject* self,PyObject* args)
{
testDivide2();
Py_INCREF(Py_None);
return Py_None;
}
PyObject*
wrap_testVar(PyObject* self,PyObject* args)
{
testVar();
Py_INCREF(Py_None);
return Py_None;
}
PyObject*
wrap_testIf(PyObject* self,PyObject* args)
{
testIf();
Py_INCREF(Py_None);
return Py_None;
}
PyObject*
wrap_testReadGlobal(PyObject* self,PyObject* args)
{
testReadGlobal();
Py_INCREF(Py_None);
return Py_None;
}
staticPyMethodDef exampleMethods[] = {
{"testFor",wrap_testFor,METH_VARARGS,"test For() time"},
{"testAdd",wrap_testAdd,METH_VARARGS,"test Add() time"},
{"testSubtract",wrap_testSubtract,METH_VARARGS,"test Subtract() time"},
{"testMultiply",wrap_testMultiply,METH_VARARGS,"test Multiply() time"},
{"testDivide",wrap_testDivide,METH_VARARGS,"test Divide() time"},
{"testDivide2",wrap_testDivide2,METH_VARARGS,"test Divide2() time"},
{"testVar",wrap_testVar,METH_VARARGS,"test Var() time"},
{"testIf",wrap_testIf,METH_VARARGS,"test If() time"},
{"testReadGlobal",wrap_testReadGlobal,METH_VARARGS,"test ReadGlobal() time"},
{NULL,NULL}
};
voidinitexample()
{
PyObject* m;
m = Py_InitModule("example",exampleMethods);
}