=credit-suisse....@python.org]
On Behalf Of Jadhav, Alok
Sent: Wednesday, December 09, 2009 1:55 PM
To: Development of Python/C++ integration
Subject: Re: [C++-sig] Converintg C++ object to python object
When I pass a C++ object to Python function, I want to be able to use
that object using its Pr
+alok.jadhav=credit-suisse@python.org]
On Behalf Of Jadhav, Alok
Sent: Wednesday, December 09, 2009 10:13 AM
To: Development of Python/C++ integration
Subject: [C++-sig] Converintg C++ object to python object
In my C++ callback function below
[code]
static void PythonCallBack(RFAMessage *msg, void
In my C++ callback function below
[code]
static void PythonCallBack(RFAMessage *msg, void *clientdata)
{
PyObject *func, *arglist;
PyGILState_STATE state;
state = PyGILState_Ensure();
func = (PyObject *) clientdata; // Get Python function
RFAMessageWrapper msg2(msg);
I am using SWIG to extend Python to C++. But the questions I have
consists of basic Python C API related. I hope this list will be able to
help me.
I am trying to solve a simple problem which many of you must have
encountered. I wonder what I am doing different than others that I am
facing a pr