<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>Austin,<br></div>
<div> </div>
<div>I guess I should say that the `typedef` is coming from a <a href="http://lxr.free-electrons.com/source/include/linux/dvb/frontend.h?v=3.2">Linux kernel header</a>. So I don't think I'm going to be able to add any macros to the definition.<br></div>
<div> </div>
<div>What do you mean about alt-click? Alt click where?<br></div>
<div> </div>
<div>On Sun, Jan 10, 2016, at 04:12 PM, Austin Zheng wrote:<br></div>
<blockquote type="cite"><div>fe_type is being imported as a struct (alt-click 'fe_type' in Swift). I think if you want it to be imported as an enum you need to use the NS_ENUM macro in the definition, which might not be possible in your case.<br></div>
<div> </div>
<div><div>Austin<br></div>
<div><div> </div>
<div><blockquote type="cite"><div>On Jan 10, 2016, at 1:06 PM, Ryan Lovelett via swift-dev <<a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a>> wrote:<br></div>
<div> </div>
<div><div><span class="font" style="font-family:Helvetica"><span class="size" style="font-size:12px">typedef enum fe_type {</span></span><br></div>
<div><span class="font" style="font-family:Helvetica"><span class="size" style="font-size:12px"> FE_QPSK,</span></span><br></div>
<div><span class="font" style="font-family:Helvetica"><span class="size" style="font-size:12px"> FE_QAM,</span></span><br></div>
<div><span class="font" style="font-family:Helvetica"><span class="size" style="font-size:12px"> FE_OFDM,</span></span><br></div>
<div><span class="font" style="font-family:Helvetica"><span class="size" style="font-size:12px"> FE_ATSC</span></span><br></div>
<div><span class="font" style="font-family:Helvetica"><span class="size" style="font-size:12px">} fe_type_t;</span></span><br></div>
</div>
</blockquote></div>
</div>
</div>
</blockquote><div> </div>
</body>
</html>