Jia,Lu wrote:
> hello,all.
>
> I wrote a module in C as below, BUT msg() method cannot work
> allright.
>
> #include
> #include
This isn't related to your error, but you should include Python.h before other
headers, and it should be just this:
#include "Python.h"
distutils will make sure
hello,all.
I wrote a module in C as below, BUT msg() method cannot work
allright.
#include
#include
static PyObject *Roka_msg(PyObject *self,PyObject *args)
{
printf("Roka Python lib. Version 1.0\n");
}
static PyObject *Roka_func(PyObject *self,PyObject *args)
{
long arg;