> there is no nil, it reports wrong size.

I remember something when doing ffmpeg c binding. At first I wrote the binding 
without adding the header pragma, and just simply importc pragma only. In the c 
header file, that particular object actually internal struct that isn't 
included in dev headers, and it's there just as to declare the type/struct.

I debugged that and it was returning nil or something that not nil but would 
crash/segfault if I tried to deref it.

After adding the header pragma then it ran smoothly and when debugging, the gdb 
returning the correct struct name.

Idk if it's related or not, but you can try looking that part.

Reply via email to