function pointers
Jimmy verma
jim_938 at hotmail.com
Mon Jun 2 11:47:20 EDT 2003
More information about the Python-list mailing list
Mon Jun 2 11:47:20 EDT 2003
- Previous message (by thread): Spread in a 24x7 environment ?
- Next message (by thread): function pointers
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello !
I have a few statements in C for which i want to write the equivalent code
in python:
typedef int (*AB)(int a, int b); #a function pointer type used to
describe signature of some function.
Then a structure of the form
typedef struct abc
{
AB make;
int a;
}ABC;
Now this structure is getting passed to some function
xyz(const ABC* inter)
{
#some code here
e = inter->Make(a, b);
}
How can i handle it with python.
Waiting for reply
Thanks in advance.
Regards.
_________________________________________________________________
Race along with NK. The fastest Indian
http://server1.msn.co.in/sp03/tataracing/index.asp Feel the thrill!
- Previous message (by thread): Spread in a 24x7 environment ?
- Next message (by thread): function pointers
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list