want to get the pointer of any python object in C++, but I Failed.

2005-12-04 Thread lg2779
Hello all I am trying to call the method of python object. But I dont know how to transfer the pointer of the python object into c++ . the C++ method to receive python object pointer : static PyObject* ReceivePythonPointer(PyObject* self, PyObject* args) { PyObject* temp=NULL ;

Re: want to get the pointer of any python object in C++, but I Failed.

2005-12-04 Thread lg2779
Thanks for your answer. I cant understand yet. The second parameter is "0" in the python' documentation. Can you give up a piece of code? -- http://mail.python.org/mailman/listinfo/python-list

Re: want to get the pointer of any python object in C++, but I Failed.

2005-12-04 Thread lg2779
Thanks for your answer. I cant understand yet. The second parameter is "0" in the python' documentation. Can you give me a piece of code? -- http://mail.python.org/mailman/listinfo/python-list

Re: want to get the pointer of any python object in C++, but I Failed.

2005-12-04 Thread lg2779
The bug is filled. I'm fool. Thank's your answer. :) -- http://mail.python.org/mailman/listinfo/python-list