newbie writing an extention...
Daniel T.
notdanielt3 at gte.net
Wed May 1 12:32:34 EDT 2002
Assume I have the following c header:
typedef struct Type;
int makeType(Type** t); // returns 0 if successful
void destroyType(Type* t);
int getValue(Type* t);
void setValue(Type* t);
int comapreTypes(Type* t1, Type* t2);
// returns -1 if t1 is less, 1 if t2 is less, or 0
IE a basic module.
How would the c file for the lib extention look? I'm esecially
interested in how to parse the arguments of the function.
TIA
More information about the Python-list
mailing list