Returning allocated structure from C

BlitzMax Forums/BlitzMax Programming/Returning allocated structure from C

"That's not true for types declared inside an extern block."
- ah, I didn't know that. I was half asleep when making his example work and something did strike me a little odd at the time, I didn't expect it to work by adding a single 4 byte param into the struct (the vtable ptr effectively) - now it makes sense.

Can we please have some documentation update regarding extern and c/c++ struct/class interfacing - would be nice if this stuff was openly documented.