Hi guys,
I’m using RFFI to reflect a C API interface that my colleague has developed.
During this process I encountered the problem of not knowing how to define a 
recursive struct definition.
e.g. How do I define a struct like the following:
typedef struct A A;
struct A {
…
void (*fn) (A*);
}

Help appreciated.

Regards,
John Zhang

------------------------------------------------------
John Zhang
Research Assistant
Programming Languages, Design & Implementation Division
Computer Systems Group
ANU College of Engineering & Computer Science
108 North Rd
The Australian National University
Acton ACT 2601
john.zh...@anu.edu.au<mailto:john.zh...@anu.edu.au>





_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to