-- addDependentFile examples/golden/binding-specs/omit_type.h
{-| __C declaration:__ @sym@

    __defined at:__ @binding-specs\/omit_type.h 1:14@

    __exported by:__ @binding-specs\/omit_type.h@
-}
newtype Sym
    = Sym {unwrapSym :: CChar}
      {- ^ __C declaration:__ @sym@

           __defined at:__ @binding-specs\/omit_type.h 1:14@

           __exported by:__ @binding-specs\/omit_type.h@
      -}
    deriving stock (Eq, Ord, Read, Show)
    deriving newtype (StaticSize,
                      ReadRaw,
                      WriteRaw,
                      Storable,
                      HasFFIType,
                      Prim,
                      Bitfield,
                      Bits,
                      Bounded,
                      Enum,
                      FiniteBits,
                      Integral,
                      Ix,
                      Num,
                      Real)
instance TyEq ty (CFieldType Sym "unwrapSym") =>
         HasField "unwrapSym" (Ptr Sym) (Ptr ty)
    where getField = fromPtr (Proxy @"unwrapSym")
instance HasCField Sym "unwrapSym"
    where type CFieldType Sym "unwrapSym" = CChar
          offset# = \_ -> \_ -> 0
