title: How to import c enum in swift
body: <p>When I import my c enum into swift, it becomes a struct and loses the cases. How can I get this to import as an enum in swift?</p>
  
  <p>c code:</p>
  
  <pre><code>enum Foo {
      A = 1,
      B = 2
  };
  </code></pre>
  
  <p>Generated Swift:</p>
  
  <pre><code>public struct Foo : Equatable, RawRepresentable {
  
      public init(_ rawValue: UInt32)
  
      public init(rawValue: UInt32)
  
      public var rawValue: UInt32
  }
  </code></pre>
  
  <p>Expected Swift:</p>
  
  <pre><code>enum Foo: UInt32 {
      case A = 1,
      case B = 2
  }
  </code></pre>