I have a situation similar to the following<BR><BR>struct a {<BR> int b;<BR> int c;<BR>};<BR><BR>struct d {<BR> int e;<BR> struct a f[10];<BR> struct a g;<BR>};<BR><BR>When it gets wrapped in SWIG I ...
This is an excellent question. Zero-length arrays, also known as flexible arrays, are used to implement variable-length arrays, primarily in structures. That's a little confusing, so let's look at an ...