ink this is better approach, kindly please let me know your comments
Regards,
Anand
On Aug 7, 2:54 am, Anand K Rayudu wrote:
Dear All,
We have extended and embedded python into my our application.
We exposed few APIs to python using
Py_InitModule("myModuleName", myMetho
Dear All,
We have extended and embedded python into my our application.
We exposed few APIs to python using
Py_InitModule("myModuleName", myMethods);
where my methods are
static PyMethodDef VistaDbMethods[] = {
{ (char *)"myAPI",_myAPICFunctionPtr ,METH_VARARGS,"usage: MyHelp)" }
Now proble
r the suggestion
Regards,
Anand
Craig Ringer wrote:
On Thu, 2005-01-06 at 18:34, Anand K Rayudu wrote:
Here is my python code
import myModule
a=myModule.myAPI1("1")
b=myModule.myAPI2("name")
# basically both above functions return same C pointer.
# so i want t
Dear All,
I have some question regarding embedding and exposing of C pointers.
We have embedded python and extended to expose our APIs and c objects to
python.
Every thing is working fine as far as customizing our application
through python.
How ever i am expecting following behavior but it fail