[Tutor] ctypes typedef

Adam Pridgen atpridgen at mail.utexas.edu
Tue May 15 01:57:03 CEST 2007

Hey everyone,

I am messing around with the ctypes package, and I wasn wondering how
I go about defining a new type, where I essentially call an int foo.

For example in C, I would use the following statement:
typedef int foo;

Is there an equivalent statement using ctypes, or is there another way
of performing this task?

Thanks in advance,


More information about the Tutor mailing list