I want to write a Julia interface to a C library. For me it is necessary to translate a C struct to a Julia type. This is necessary because i want to make a call to a C function using ccall.
struct my_struct {
struct my_struct * child;
int a;
struct A_st{
int c;
int (*f1) (struct my_struct * eqn);
int (*f2) (struct my_struct * eqn);
int (*f3) (struct my_struct * eqn);
} A;
};
I know that Julia has a problem with circular defined types https://github.com/JuliaLang/julia/issues/269 "Simple" defined structs i have already mapped to a julia type but with this one i have problems.