<div dir="ltr">On 31 August 2013 04:59, Johannes Pfau <span dir="ltr"><<a href="mailto:nospam@example.com" target="_blank">nospam@example.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am Sat, 31 Aug 2013 04:09:10 +1000<br>
schrieb Manu <<a href="mailto:turkeyman@gmail.com">turkeyman@gmail.com</a>>:<br>
<div class="im"><br>
> So should I extern(C) the forward declaration?<br>
<br>
</div>Sometimes<br>
---<br>
struct MyStruct {}<br>
---<br>
is used as a workaround, but that may have other issues.<br>
</blockquote></div><br></div><div class="gmail_extra">Yeah, that's no good. That certainly opens up more problems.</div><div class="gmail_extra">The point is that it is an undefined struct, and it can only be used to type a pointer. It's pretty much impossible to extern to a lot of C code if this doesn't work properly.</div>
</div>