Dear Craig,
Thanks a lot for the suggestions.
I am just considering to create a user defined data type to wrap the C
pointer.
I can add compare method for that data type.
So all my APIs returns the new data type rather than PythonC Object.
But hoping that it is not lot of over head with res
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 to compare
> if(a==b): print "They are same"
> else : print "They are
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