¡@

Home 

python Programming Glossary: person_ptr

Wrapping C library [closed]

http://stackoverflow.com/questions/7619785/wrapping-c-library

I need to wrap it into Cython . How do I wrap the function Person_ptr Person_create const char name private.h #ifndef __PERSON_PRIVATE_H__.. Person_TAG char name int age Person void person_init Person_ptr self const char name # endif __PERSON_PRIVATE_H__ public.h #ifndef.. __PERSON_H__ #include assert.h typedef struct Person_TAG Person_ptr #define PERSON x Person_ptr x #define PERSON_CHECK_INSTANCE..