sizeof(long) from python

J

John

I want to know the sizeof(long) / sizeof(int) ... in C from python.
(This is to read a set of numbers output from a C Code
and can be machine dependent).

Is there an easy way except writing a C program and parsing its output?

Thanks,
--j
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,318
Members
48,002
Latest member
EttaPfeffe

Latest Threads

Top